jBPM distribution 6.1.0.Beta3

org.jbpm.process.workitem.handler
Class JavaHandlerWorkItemHandler

java.lang.Object
  extended by org.jbpm.process.workitem.AbstractLogOrThrowWorkItemHandler
      extended by org.jbpm.process.workitem.handler.JavaHandlerWorkItemHandler
All Implemented Interfaces:
WorkItemHandler

public class JavaHandlerWorkItemHandler
extends AbstractLogOrThrowWorkItemHandler


Field Summary
 
Fields inherited from class org.jbpm.process.workitem.AbstractLogOrThrowWorkItemHandler
logThrownException
 
Constructor Summary
JavaHandlerWorkItemHandler(org.kie.internal.runtime.StatefulKnowledgeSession ksession)
           
 
Method Summary
 void abortWorkItem(WorkItem arg0, WorkItemManager arg1)
          The given work item should be aborted.
 void executeWorkItem(WorkItem workItem, WorkItemManager manager)
          The given work item should be executed.
 
Methods inherited from class org.jbpm.process.workitem.AbstractLogOrThrowWorkItemHandler
handleException, handleException, setLogThrownException
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaHandlerWorkItemHandler

public JavaHandlerWorkItemHandler(org.kie.internal.runtime.StatefulKnowledgeSession ksession)
Method Detail

executeWorkItem

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

Parameters:
workItem - the work item that should be executed
manager - the manager that requested the work item to be executed

abortWorkItem

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

Parameters:
arg0 - the work item that should be aborted
arg1 - the manager that requested the work item to be aborted

jBPM distribution 6.1.0.Beta3

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