org.jbpm.process.workitem.webservice
Class WebServiceWorkItemHandler
java.lang.Object
org.jbpm.process.workitem.AbstractLogOrThrowWorkItemHandler
org.jbpm.process.workitem.webservice.WebServiceWorkItemHandler
- All Implemented Interfaces:
- WorkItemHandler, org.kie.internal.runtime.Cacheable
public class WebServiceWorkItemHandler
- extends AbstractLogOrThrowWorkItemHandler
- implements org.kie.internal.runtime.Cacheable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WSDL_IMPORT_TYPE
public static final String WSDL_IMPORT_TYPE
- See Also:
- Constant Field Values
WebServiceWorkItemHandler
public WebServiceWorkItemHandler(KieSession ksession)
WebServiceWorkItemHandler
public WebServiceWorkItemHandler(KieSession ksession,
ClassLoader classloader)
WebServiceWorkItemHandler
public WebServiceWorkItemHandler(KieSession ksession,
int timeout)
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
getWSClient
protected org.apache.cxf.endpoint.Client getWSClient(WorkItem workItem,
String interfaceRef)
getDynamicClientFactory
protected org.apache.cxf.endpoint.dynamic.DynamicClientFactory getDynamicClientFactory()
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
getClassLoader
public ClassLoader getClassLoader()
setClassLoader
public void setClassLoader(ClassLoader classLoader)
nonNull
protected String nonNull(String value)
close
public void close()
- Specified by:
close
in interface org.kie.internal.runtime.Cacheable
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.