Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| jBPM distribution 6.1.0.Final
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jbpm.process.workitem.bpmn2
Class ServiceTaskHandler

    java.lang.Object
      org.jbpm.process.workitem.AbstractLogOrThrowWorkItemHandler
          org.jbpm.process.workitem.bpmn2.ServiceTaskHandler

All Implemented Interfaces:
  WorkItemHandler

    public class ServiceTaskHandler

extends AbstractLogOrThrowWorkItemHandler

Field Summary
`static String` | `WSDL_IMPORT_TYPE`

Fields inherited from class org.jbpm.process.workitem.AbstractLogOrThrowWorkItemHandler
`logThrownException`

Constructor Summary
`ServiceTaskHandler()`
`ServiceTaskHandler(KieSession ksession)`
`ServiceTaskHandler(KieSession ksession, ClassLoader classloader)`
`ServiceTaskHandler(KieSession ksession, int timeout)`

Method Summary
`void` | `abortWorkItem(WorkItem workItem, WorkItemManager manager)` The given work item should be aborted.
`void` | `executeJavaWorkItem(WorkItem workItem, WorkItemManager manager)`
`void` | `executeWorkItem(WorkItem workItem, WorkItemManager manager)` The given work item should be executed.
`ClassLoader` | `getClassLoader()`
`protected org.apache.cxf.endpoint.Client` | `getWSClient(WorkItem workItem, String interfaceRef)`
`protected String` | `nonNull(String value)`
`void` | `setClassLoader(ClassLoader classLoader)`

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`

Field Detail

### WSDL_IMPORT_TYPE

    public static final String WSDL_IMPORT_TYPE

See Also:
  Constant Field Values

Constructor Detail

### ServiceTaskHandler

    public ServiceTaskHandler()

### ServiceTaskHandler

    public ServiceTaskHandler(KieSession ksession)

### ServiceTaskHandler

    public ServiceTaskHandler(KieSession ksession,
                              ClassLoader classloader)

### ServiceTaskHandler

    public ServiceTaskHandler(KieSession ksession,
                              int timeout)

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

### getWSClient

    protected org.apache.cxf.endpoint.Client getWSClient(WorkItem workItem,
                                                         String interfaceRef)

### executeJavaWorkItem

    public void executeJavaWorkItem(WorkItem workItem,
                                    WorkItemManager manager)

### abortWorkItem

    public void abortWorkItem(WorkItem workItem,
                              WorkItemManager manager)

  Description copied from interface: `WorkItemHandler`
  The given work item should be aborted.

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

### getClassLoader

    public ClassLoader getClassLoader()

### setClassLoader

    public void setClassLoader(ClassLoader classLoader)

### nonNull

    protected String nonNull(String value)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| jBPM distribution 6.1.0.Final
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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