当前页面:
在线文档首页 >
JBoss Seam 1.0.1 API 英文版文档
ManagedWorkingMemory (JBoss Seam API Documentation) - JBoss Seam 1.0.1 API 英文版文档
org.jboss.seam.drools
Class ManagedWorkingMemory
java.lang.Object
org.jboss.seam.drools.ManagedWorkingMemory
@Scope(value=CONVERSATION)
@Intercept(value=NEVER)
@Mutable
public class ManagedWorkingMemory
- extends Object
A conversation-scoped Drools WorkingMemory for a named RuleBase
- Author:
- Gavin King
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ManagedWorkingMemory
public ManagedWorkingMemory()
getRuleBaseName
public String getRuleBaseName()
- The name of a Seam context variable holding an
instance of org.drools.RuleBase
- Returns:
- a context variable name
setRuleBaseName
public void setRuleBaseName(String ruleBaseName)
- The name of a Seam context variable holding an
instance of org.drools.RuleBase
- Parameters:
ruleBaseName
- a context variable name
getWorkingMemory
@Unwrap
public org.drools.WorkingMemory getWorkingMemory()
destroy
@Destroy
public void destroy()