org.jbpm.process.workitem.transform
Class TransformWorkItemHandler

java.lang.Object
  extended by org.jbpm.process.workitem.transform.TransformWorkItemHandler
All Implemented Interfaces:
WorkItemHandler

public class TransformWorkItemHandler
extends Object
implements org.drools.process.instance.WorkItemHandler


Constructor Summary
TransformWorkItemHandler()
           
 
Method Summary
 void abortWorkItem(WorkItem arg0, WorkItemManager arg1)
          The given work item should be aborted.
 void executeWorkItem(WorkItem inputItem, WorkItemManager itemMgr)
          The given work item should be executed.
 void registerTransformer(Class<?> transformer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransformWorkItemHandler

public TransformWorkItemHandler()
Method Detail

executeWorkItem

public void executeWorkItem(WorkItem inputItem,
                            WorkItemManager itemMgr)
Description copied from interface: WorkItemHandler
The given work item should be executed.

Specified by:
executeWorkItem in interface WorkItemHandler
Parameters:
inputItem - the work item that should be executed
itemMgr - the manager that requested the work item to be executed

registerTransformer

public void registerTransformer(Class<?> transformer)

abortWorkItem

public void abortWorkItem(WorkItem arg0,
                          WorkItemManager arg1)
Description copied from interface: WorkItemHandler
The given work item should be aborted.

Specified by:
abortWorkItem in interface WorkItemHandler
Parameters:
arg0 - the work item that should be aborted
arg1 - the manager that requested the work item to be aborted


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