站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > 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
  extended by 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

Constructor Summary
ManagedWorkingMemory()
           
 
Method Summary
 void destroy()
           
 String getRuleBaseName()
          The name of a Seam context variable holding an instance of org.drools.RuleBase
 org.drools.WorkingMemory getWorkingMemory()
           
 void setRuleBaseName(String ruleBaseName)
          The name of a Seam context variable holding an instance of org.drools.RuleBase
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManagedWorkingMemory

public ManagedWorkingMemory()
Method Detail

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()