@Connector(reauthenticationSupport=false, transactionSupport=NoTransaction) public class JcaExecutorServiceConnector extends Object implements javax.resource.spi.ResourceAdapter, Serializable
The ResourceAdapter
responsible for bootstrapping the JcaExecutorService
Modifier and Type | Class and Description |
---|---|
class |
JcaExecutorServiceConnector.ExecutorServiceWrapper
This class must be free of engine classes to make it possible to install
the resource adapter without shared libraries.
|
Modifier and Type | Field and Description |
---|---|
protected String |
commonJWorkManagerName |
protected JcaExecutorServiceConnector.ExecutorServiceWrapper |
executorServiceWrapper |
protected Boolean |
isUseCommonJWorkManager |
protected JobExecutionHandlerActivation |
jobHandlerActivation |
static String |
ORG_CAMUNDA_BPM_ENGINE_PROCESS_ENGINE |
Constructor and Description |
---|
JcaExecutorServiceConnector() |
Modifier and Type | Method and Description |
---|---|
void |
endpointActivation(javax.resource.spi.endpoint.MessageEndpointFactory endpointFactory,
javax.resource.spi.ActivationSpec spec) |
void |
endpointDeactivation(javax.resource.spi.endpoint.MessageEndpointFactory endpointFactory,
javax.resource.spi.ActivationSpec spec) |
boolean |
equals(Object other) |
String |
getCommonJWorkManagerName() |
JcaExecutorServiceConnector.ExecutorServiceWrapper |
getExecutorServiceWrapper() |
Boolean |
getIsUseCommonJWorkManager() |
JobExecutionHandlerActivation |
getJobHandlerActivation() |
XAResource[] |
getXAResources(javax.resource.spi.ActivationSpec[] specs) |
int |
hashCode() |
void |
setCommonJWorkManagerName(String commonJWorkManagerName) |
void |
setIsUseCommonJWorkManager(Boolean isUseCommonJWorkManager) |
void |
start(javax.resource.spi.BootstrapContext ctx) |
void |
stop() |
public static final String ORG_CAMUNDA_BPM_ENGINE_PROCESS_ENGINE
protected JcaExecutorServiceConnector.ExecutorServiceWrapper executorServiceWrapper
protected JobExecutionHandlerActivation jobHandlerActivation
@ConfigProperty(type=java.lang.Boolean.class, defaultValue="false", description="If set to \'true\', the CommonJ WorkManager is used instead of the Jca Work Manager.Can only be used on platforms where a CommonJ Workmanager is available (such as IBM & Oracle)") protected Boolean isUseCommonJWorkManager
@ConfigProperty(type=java.lang.String.class, defaultValue="wm/camunda-bpm-workmanager", description="Allows specifying the name of a CommonJ Workmanager.") protected String commonJWorkManagerName
public void start(javax.resource.spi.BootstrapContext ctx) throws javax.resource.spi.ResourceAdapterInternalException
start
in interface javax.resource.spi.ResourceAdapter
javax.resource.spi.ResourceAdapterInternalException
public void stop()
stop
in interface javax.resource.spi.ResourceAdapter
public void endpointActivation(javax.resource.spi.endpoint.MessageEndpointFactory endpointFactory, javax.resource.spi.ActivationSpec spec) throws javax.resource.ResourceException
endpointActivation
in interface javax.resource.spi.ResourceAdapter
javax.resource.ResourceException
public void endpointDeactivation(javax.resource.spi.endpoint.MessageEndpointFactory endpointFactory, javax.resource.spi.ActivationSpec spec)
endpointDeactivation
in interface javax.resource.spi.ResourceAdapter
public XAResource[] getXAResources(javax.resource.spi.ActivationSpec[] specs) throws javax.resource.ResourceException
getXAResources
in interface javax.resource.spi.ResourceAdapter
javax.resource.ResourceException
public JcaExecutorServiceConnector.ExecutorServiceWrapper getExecutorServiceWrapper()
public JobExecutionHandlerActivation getJobHandlerActivation()
public Boolean getIsUseCommonJWorkManager()
public void setIsUseCommonJWorkManager(Boolean isUseCommonJWorkManager)
public String getCommonJWorkManagerName()
public void setCommonJWorkManagerName(String commonJWorkManagerName)
Copyright © 2017. All rights reserved.