当前页面: 
在线文档首页 > 
JBoss Seam  1.0.0 API 英文版文档
DroolsDecisionHandler (JBoss Seam API Documentation) - JBoss Seam  1.0.0 API 英文版文档
org.jboss.seam.drools
Class DroolsDecisionHandler
java.lang.Object
   org.jboss.seam.drools.DroolsDecisionHandler
org.jboss.seam.drools.DroolsDecisionHandler
- All Implemented Interfaces: 
- Serializable, org.jbpm.graph.node.DecisionHandler
- public class DroolsDecisionHandler 
- extends Object- implements org.jbpm.graph.node.DecisionHandler
A jBPM DecisionHandler that delegates to a Drools WorkingMemory
 held in a Seam context variable. The decision outcome is returned
 by setting the outcome attribute of the global named "decision".
- Author:
- Gavin King
- See Also:
- Serialized Form
 
 
| Method Summary | 
|  String | decide(org.jbpm.graph.exe.ExecutionContext executionContext)The FireRulesActionHandler gets variables from the Instance, and asserts
 them into the Rules Engine and invokes the rules.
 | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
assertObjects
public List<String> assertObjects
workingMemoryName
public String workingMemoryName
DroolsDecisionHandler
public DroolsDecisionHandler()
decide
public String decide(org.jbpm.graph.exe.ExecutionContext executionContext)
              throws Exception
- The FireRulesActionHandler gets variables from the Instance, and asserts
 them into the Rules Engine and invokes the rules.
 
- 
- Specified by:
- decidein interface- org.jbpm.graph.node.DecisionHandler
 
- 
- Throws:
- Exception