Package org.camunda.bpm.application.impl
Class EjbProcessApplicationReference
java.lang.Object
org.camunda.bpm.application.impl.EjbProcessApplicationReference
- All Implemented Interfaces:
ProcessApplicationReference
A reference to an EJB process application.
An EJB process application is an EJB Session Bean that can be looked up in JNDI.
- Author:
- Daniel Meyer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringthe name of the process applicationprotected ProcessApplicationInterfacethis is an EjbProxy and can be cached -
Constructor Summary
ConstructorsConstructorDescriptionEjbProcessApplicationReference(ProcessApplicationInterface selfReference, String name) -
Method Summary
Modifier and TypeMethodDescriptiongetName()Get the process application.voidprocessEngineStopping(ProcessEngine processEngine)
-
Field Details
-
selfReference
this is an EjbProxy and can be cached -
processApplicationName
the name of the process application
-
-
Constructor Details
-
EjbProcessApplicationReference
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceProcessApplicationReference- Returns:
- the name of the process application
-
getProcessApplication
public ProcessApplicationInterface getProcessApplication() throws ProcessApplicationUnavailableExceptionDescription copied from interface:ProcessApplicationReferenceGet the process application.- Specified by:
getProcessApplicationin interfaceProcessApplicationReference- Returns:
- the
AbstractProcessApplication - Throws:
ProcessApplicationUnavailableException- if the process application is unavailable
-
processEngineStopping
public void processEngineStopping(ProcessEngine processEngine) throws ProcessApplicationUnavailableException
-