org.jbpm.process.workitem.wsht
Class GenericHTWorkItemHandler
java.lang.Object
org.jbpm.process.workitem.wsht.AbstractHTWorkItemHandler
org.jbpm.process.workitem.wsht.GenericHTWorkItemHandler
- All Implemented Interfaces:
- WorkItemHandler
- Direct Known Subclasses:
- HornetQHTWorkItemHandler, LocalHTWorkItemHandler, MinaHTWorkItemHandler
public class GenericHTWorkItemHandler
- extends AbstractHTWorkItemHandler
Constructor Summary |
GenericHTWorkItemHandler(KnowledgeRuntime session)
|
GenericHTWorkItemHandler(KnowledgeRuntime session,
boolean owningSessionOnly)
|
GenericHTWorkItemHandler(KnowledgeRuntime session,
OnErrorAction action)
|
GenericHTWorkItemHandler(TaskService client,
KnowledgeRuntime session)
|
GenericHTWorkItemHandler(TaskService client,
KnowledgeRuntime session,
boolean owningSessionOnly)
|
GenericHTWorkItemHandler(TaskService client,
KnowledgeRuntime session,
OnErrorAction action)
|
GenericHTWorkItemHandler(TaskService client,
KnowledgeRuntime session,
OnErrorAction action,
ClassLoader classLoader)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenericHTWorkItemHandler
public GenericHTWorkItemHandler(KnowledgeRuntime session,
OnErrorAction action)
GenericHTWorkItemHandler
public GenericHTWorkItemHandler(TaskService client,
KnowledgeRuntime session,
OnErrorAction action)
GenericHTWorkItemHandler
public GenericHTWorkItemHandler(TaskService client,
KnowledgeRuntime session,
OnErrorAction action,
ClassLoader classLoader)
GenericHTWorkItemHandler
public GenericHTWorkItemHandler(TaskService client,
KnowledgeRuntime session)
GenericHTWorkItemHandler
public GenericHTWorkItemHandler(TaskService client,
KnowledgeRuntime session,
boolean owningSessionOnly)
GenericHTWorkItemHandler
public GenericHTWorkItemHandler(KnowledgeRuntime session)
GenericHTWorkItemHandler
public GenericHTWorkItemHandler(KnowledgeRuntime session,
boolean owningSessionOnly)
getClient
public TaskService getClient()
setClient
public void setClient(TaskService client)
setIpAddress
public void setIpAddress(String ipAddress)
setPort
public void setPort(int port)
setLocal
public void setLocal(boolean local)
isConnected
public boolean isConnected()
getIpAddress
public String getIpAddress()
isLocal
public boolean isLocal()
getPort
public int getPort()
getClassLoader
public ClassLoader getClassLoader()
setClassLoader
public void setClassLoader(ClassLoader classLoader)
registerTaskEvents
protected void registerTaskEvents()
connect
public void connect()
dispose
public void dispose()
throws Exception
- Throws:
Exception
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
- Specified by:
executeWorkItem
in class AbstractHTWorkItemHandler
- Parameters:
workItem
- the work item that should be executedmanager
- the manager that requested the work item to be executed
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
- Specified by:
abortWorkItem
in class AbstractHTWorkItemHandler
- Parameters:
workItem
- the work item that should be abortedmanager
- the manager that requested the work item to be aborted
isOwningSessionOnly
public boolean isOwningSessionOnly()
setOwningSessionOnly
public void setOwningSessionOnly(boolean owningSessionOnly)
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.