Package org.camunda.bpm.application.impl
Class AbstractEjbProcessApplication
java.lang.Object
org.camunda.bpm.application.AbstractProcessApplication
org.camunda.bpm.application.impl.AbstractEjbProcessApplication
- All Implemented Interfaces:
ProcessApplicationInterface
- Direct Known Subclasses:
EjbProcessApplication
,JakartaEjbProcessApplication
-
Field Summary
Modifier and TypeFieldDescriptionprotected static String
protected static String
protected static String
protected ProcessApplicationInterface
Fields inherited from class org.camunda.bpm.application.AbstractProcessApplication
defaultDeployToEngineName, isDeployed, processApplicationBeanElResolver, processApplicationElResolver, processApplicationScriptEnvironment, variableSerializers
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
Override this method to autodetect an application name in case theProcessApplication
annotation was used but without parameter.protected abstract void
protected void
<T> T
The default implementation simply modifies the ContextClassLoader
protected Class<? extends ProcessApplicationInterface>
allows subclasses to provide a custom business interfaceprotected abstract ProcessApplicationReference
Returns a globally sharable reference to this process application.protected String
determine the ee application name based on information obtained from JNDI.protected abstract ProcessApplicationInterface
lookup a proxy object representing the invoked business view of this component.Methods inherited from class org.camunda.bpm.application.AbstractProcessApplication
createDeployment, deploy, execute, getBeanElResolver, getDefaultDeployToEngineName, getElResolver, getEnvironmentScripts, getExecutionListener, getName, getProcessApplicationClassloader, getProcessApplicationScriptEnvironment, getProperties, getRawObject, getScriptEngineForName, getTaskListener, getVariableSerializers, initProcessApplicationElResolver, setDefaultDeployToEngineName, setVariableSerializers, undeploy
-
Field Details
-
MODULE_NAME_PATH
-
JAVA_APP_APP_NAME_PATH
-
EJB_CONTEXT_PATH
-
selfReference
-
-
Constructor Details
-
AbstractEjbProcessApplication
public AbstractEjbProcessApplication()
-
-
Method Details
-
getReference
Description copied from interface:ProcessApplicationInterface
Returns a globally sharable reference to this process application. This reference may be safely passed to the process engine. And other applications.
- Returns:
- a globally sharable reference to this process application.
-
autodetectProcessApplicationName
Description copied from class:AbstractProcessApplication
Override this method to autodetect an application name in case theProcessApplication
annotation was used but without parameter.- Specified by:
autodetectProcessApplicationName
in classAbstractProcessApplication
-
getBusinessInterface
allows subclasses to provide a custom business interface -
execute
Description copied from interface:ProcessApplicationInterface
The default implementation simply modifies the ContextClassLoader
- Specified by:
execute
in interfaceProcessApplicationInterface
- Overrides:
execute
in classAbstractProcessApplication
- Parameters:
callable
- to be executed "within" the context of this process application.- Returns:
- the result of the callback
- Throws:
ProcessApplicationExecutionException
-
ensureInitialized
protected void ensureInitialized() -
ensureEjbProcessApplicationReferenceInitialized
protected abstract void ensureEjbProcessApplicationReferenceInitialized() -
getEjbProcessApplicationReference
-
lookupSelfReference
lookup a proxy object representing the invoked business view of this component. -
lookupEeApplicationName
determine the ee application name based on information obtained from JNDI.
-