当前页面:
在线文档首页 >
JBoss Seam 1.0.0 API 英文版文档
DroolsAssignmentHandler (JBoss Seam API Documentation) - JBoss Seam 1.0.0 API 英文版文档
org.jboss.seam.drools
Class DroolsAssignmentHandler
java.lang.Object
org.jboss.seam.drools.DroolsAssignmentHandler
- All Implemented Interfaces:
- Serializable, org.jbpm.taskmgmt.def.AssignmentHandler
public class DroolsAssignmentHandler
- extends Object
- implements org.jbpm.taskmgmt.def.AssignmentHandler
A jBPM AssignmentHandler that delegates to a Drools WorkingMemory
held in a Seam context variable. This implementation assumes that
the jBPM identity component is installed. Alternatively, if you
are not using the jBPM identity component for identity management,
you can subclass this implementation, and override the getUsers(),
getGroupByName() and getMemberShips() methods.
- Author:
- Jeff Delong, Gavin King
- See Also:
- Serialized Form
Method Summary |
void |
assign(org.jbpm.taskmgmt.exe.Assignable assignable,
org.jbpm.graph.exe.ExecutionContext executionContext)
|
protected List |
getGroupByName(org.hibernate.Session session,
String groupName)
|
protected List |
getMemberships(org.hibernate.Session session)
|
protected List |
getUsers(org.hibernate.Session session)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
group
public String group
workingMemoryName
public String workingMemoryName
assertObjects
public List<String> assertObjects
DroolsAssignmentHandler
public DroolsAssignmentHandler()
assign
public void assign(org.jbpm.taskmgmt.exe.Assignable assignable,
org.jbpm.graph.exe.ExecutionContext executionContext)
throws Exception
- Specified by:
assign
in interface org.jbpm.taskmgmt.def.AssignmentHandler
- Throws:
Exception
getUsers
protected List getUsers(org.hibernate.Session session)
getGroupByName
protected List getGroupByName(org.hibernate.Session session,
String groupName)
getMemberships
protected List getMemberships(org.hibernate.Session session)