org.jbpm.process.workitem.wsht
Class WSHumanTaskHandler
java.lang.Object
org.jbpm.process.workitem.wsht.WSHumanTaskHandler
- All Implemented Interfaces:
- WorkItemHandler
- Direct Known Subclasses:
- WSThroughJMSHumanTaskHandler
public class WSHumanTaskHandler
- extends Object
- implements WorkItemHandler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WSHumanTaskHandler
public WSHumanTaskHandler()
WSHumanTaskHandler
public WSHumanTaskHandler(KnowledgeRuntime session)
setConnection
public void setConnection(String ipAddress,
int port)
setClient
public void setClient(TaskClient client)
connect
public void connect()
setManager
public void setManager(WorkItemManager manager)
executeWorkItem
public void executeWorkItem(WorkItem workItem,
WorkItemManager manager)
- Description copied from interface:
WorkItemHandler
- The given work item should be executed.
- Specified by:
executeWorkItem
in interface WorkItemHandler
- Parameters:
workItem
- the work item that should be executedmanager
- the manager that requested the work item to be executed
dispose
public void dispose()
throws Exception
- Throws:
Exception
abortWorkItem
public void abortWorkItem(WorkItem workItem,
WorkItemManager manager)
- Description copied from interface:
WorkItemHandler
- The given work item should be aborted.
- Specified by:
abortWorkItem
in interface WorkItemHandler
- Parameters:
workItem
- the work item that should be abortedmanager
- the manager that requested the work item to be aborted
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.