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

## 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, MinaHTWorkItemHandler

    public class GenericHTWorkItemHandler

extends AbstractHTWorkItemHandler

Field Summary

Fields inherited from class org.jbpm.process.workitem.wsht.AbstractHTWorkItemHandler
`action, eventHandlers, marshallerContext, session`

Constructor Summary
`GenericHTWorkItemHandler(KnowledgeRuntime session)`
`GenericHTWorkItemHandler(KnowledgeRuntime session, OnErrorAction action)`

Method Summary
`void` | `abortWorkItem(WorkItem workItem, WorkItemManager manager)` The given work item should be aborted.
`void` | `connect()`
`void` | `dispose()`
`void` | `executeWorkItem(WorkItem workItem, WorkItemManager manager)` The given work item should be executed.
`TaskService` | `getClient()`
`String` | `getIpAddress()`
`int` | `getPort()`
`boolean` | `isConnected()`
`boolean` | `isLocal()`
`void` | `setClient(TaskService client)`
`void` | `setIpAddress(String ipAddress)`
`void` | `setLocal(boolean local)`
`void` | `setPort(int port)`

Methods inherited from class org.jbpm.process.workitem.wsht.AbstractHTWorkItemHandler
`createTaskBasedOnWorkItemParams, createTaskContentBasedOnWorkItemParams, getMarshallerContext, setAction, setMarshallerContext`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### GenericHTWorkItemHandler

    public GenericHTWorkItemHandler(KnowledgeRuntime session,
                                    OnErrorAction action)

### GenericHTWorkItemHandler

    public GenericHTWorkItemHandler(KnowledgeRuntime session)

Method Detail

### 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()

### 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 executed
    `manager` - 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 aborted
    `manager` - the manager that requested the work item to be aborted

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
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.