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
Modifier and TypeFieldDescriptionprotected String
the name of the process applicationprotected ProcessApplicationInterface
this is an EjbProxy and can be cached -
Constructor Summary
ConstructorDescriptionEjbProcessApplicationReference
(ProcessApplicationInterface selfReference, String name) -
Method Summary
Modifier and TypeMethodDescriptiongetName()
Get the process application.void
processEngineStopping
(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:
getName
in interfaceProcessApplicationReference
- Returns:
- the name of the process application
-
getProcessApplication
public ProcessApplicationInterface getProcessApplication() throws ProcessApplicationUnavailableExceptionDescription copied from interface:ProcessApplicationReference
Get the process application.- Specified by:
getProcessApplication
in interfaceProcessApplicationReference
- Returns:
- the
AbstractProcessApplication
- Throws:
ProcessApplicationUnavailableException
- if the process application is unavailable
-
processEngineStopping
public void processEngineStopping(ProcessEngine processEngine) throws ProcessApplicationUnavailableException
-