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
FieldsModifier and TypeFieldDescriptionprotected static Stringprotected static Stringprotected static Stringprotected ProcessApplicationInterfaceFields inherited from class org.camunda.bpm.application.AbstractProcessApplication
defaultDeployToEngineName, isDeployed, processApplicationBeanElResolver, processApplicationElResolver, processApplicationScriptEnvironment, variableSerializers -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringOverride this method to autodetect an application name in case theProcessApplicationannotation was used but without parameter.protected abstract voidprotected void<T> TThe default implementation simply modifies the ContextClassLoaderprotected Class<? extends ProcessApplicationInterface>allows subclasses to provide a custom business interfaceprotected abstract ProcessApplicationReferenceReturns a globally sharable reference to this process application.protected Stringdetermine the ee application name based on information obtained from JNDI.protected abstract ProcessApplicationInterfacelookup 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:ProcessApplicationInterfaceReturns 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:AbstractProcessApplicationOverride this method to autodetect an application name in case theProcessApplicationannotation was used but without parameter.- Specified by:
autodetectProcessApplicationNamein classAbstractProcessApplication
-
getBusinessInterface
allows subclasses to provide a custom business interface -
execute
Description copied from interface:ProcessApplicationInterfaceThe default implementation simply modifies the ContextClassLoader- Specified by:
executein interfaceProcessApplicationInterface- Overrides:
executein 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.
-