org.jbpm.process.workitem.wsht
Class CommandBasedWSHumanTaskHandler

java.lang.Object
  extended by org.jbpm.process.workitem.wsht.CommandBasedWSHumanTaskHandler
All Implemented Interfaces:
WorkItemHandler
Direct Known Subclasses:
CommandBasedWSThroughJMSHumanTaskHandler

public class CommandBasedWSHumanTaskHandler
extends Object
implements WorkItemHandler


Constructor Summary
CommandBasedWSHumanTaskHandler(KnowledgeRuntime session)
           
 
Method Summary
 void abortWorkItem(WorkItem workItem, WorkItemManager manager)
           
 void connect()
           
 void dispose()
           
 void executeWorkItem(WorkItem workItem, WorkItemManager manager)
           
 void setConnection(String ipAddress, int port)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandBasedWSHumanTaskHandler

public CommandBasedWSHumanTaskHandler(KnowledgeRuntime session)
Method Detail

setConnection

public void setConnection(String ipAddress,
                          int port)

connect

public void connect()

executeWorkItem

public void executeWorkItem(WorkItem workItem,
                            WorkItemManager manager)
Specified by:
executeWorkItem in interface WorkItemHandler

dispose

public void dispose()
             throws Exception
Throws:
Exception

abortWorkItem

public void abortWorkItem(WorkItem workItem,
                          WorkItemManager manager)
Specified by:
abortWorkItem in interface WorkItemHandler


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.