org.jbpm.bpmn2.handler
Class AbstractExceptionHandlingTaskHandler
java.lang.Object
org.jbpm.bpmn2.handler.AbstractExceptionHandlingTaskHandler
- All Implemented Interfaces:
- WorkItemHandler
- Direct Known Subclasses:
- LoggingTaskHandlerDecorator, SignallingTaskHandlerDecorator
public abstract class AbstractExceptionHandlingTaskHandler
- extends Object
- implements WorkItemHandler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractExceptionHandlingTaskHandler
public AbstractExceptionHandlingTaskHandler(WorkItemHandler originalTaskHandler)
AbstractExceptionHandlingTaskHandler
public AbstractExceptionHandlingTaskHandler(Class<? extends WorkItemHandler> originalTaskHandlerClass)
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
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
getOriginalTaskHandler
public WorkItemHandler getOriginalTaskHandler()
handleExecuteException
public abstract void handleExecuteException(Throwable cause,
WorkItem workItem,
WorkItemManager manager)
handleAbortException
public abstract void handleAbortException(Throwable cause,
WorkItem workItem,
WorkItemManager manager)
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.