Package org.camunda.bpm.application.impl
Class JakartaEjbProcessApplicationReference
java.lang.Object
org.camunda.bpm.application.impl.JakartaEjbProcessApplicationReference
- All Implemented Interfaces:
ProcessApplicationReference
public class JakartaEjbProcessApplicationReference
extends 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
Modifier and TypeFieldDescriptionprotected String
the name of the process applicationprotected ProcessApplicationInterface
this is an EjbProxy and can be cached -
Constructor Summary
ConstructorDescriptionJakartaEjbProcessApplicationReference
(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
-
JakartaEjbProcessApplicationReference
public JakartaEjbProcessApplicationReference(ProcessApplicationInterface selfReference, String name)
-
-
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
-