Package org.camunda.bpm.application.impl
Class EjbProcessApplicationReference
- java.lang.Object
-
- org.camunda.bpm.application.impl.EjbProcessApplicationReference
-
- All Implemented Interfaces:
ProcessApplicationReference
public class EjbProcessApplicationReference extends java.lang.Object implements 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
Fields Modifier and Type Field Description protected java.lang.String
processApplicationName
the name of the process applicationprotected ProcessApplicationInterface
selfReference
this is an EjbProxy and can be cached
-
Constructor Summary
Constructors Constructor Description EjbProcessApplicationReference(ProcessApplicationInterface selfReference, java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
ProcessApplicationInterface
getProcessApplication()
Get the process application.void
processEngineStopping(ProcessEngine processEngine)
-
-
-
Field Detail
-
selfReference
protected ProcessApplicationInterface selfReference
this is an EjbProxy and can be cached
-
processApplicationName
protected java.lang.String processApplicationName
the name of the process application
-
-
Constructor Detail
-
EjbProcessApplicationReference
public EjbProcessApplicationReference(ProcessApplicationInterface selfReference, java.lang.String name)
-
-
Method Detail
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfaceProcessApplicationReference
- Returns:
- the name of the process application
-
getProcessApplication
public ProcessApplicationInterface getProcessApplication() throws ProcessApplicationUnavailableException
Description 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
-
-