public class EjbProcessApplicationReference 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.
Modifier and Type | Field and Description |
---|---|
protected String |
processApplicationName
the name of the process application
|
protected ProcessApplicationInterface |
selfReference
this is an EjbProxy and can be cached
|
Constructor and Description |
---|
EjbProcessApplicationReference(ProcessApplicationInterface selfReference,
String name) |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
ProcessApplicationInterface |
getProcessApplication()
Get the process application.
|
void |
processEngineStopping(ProcessEngine processEngine) |
protected ProcessApplicationInterface selfReference
protected String processApplicationName
public EjbProcessApplicationReference(ProcessApplicationInterface selfReference, String name)
public String getName()
getName
in interface ProcessApplicationReference
public ProcessApplicationInterface getProcessApplication() throws ProcessApplicationUnavailableException
ProcessApplicationReference
getProcessApplication
in interface ProcessApplicationReference
AbstractProcessApplication
ProcessApplicationUnavailableException
- if the process application is unavailablepublic void processEngineStopping(ProcessEngine processEngine) throws ProcessApplicationUnavailableException
Copyright © 2015. All rights reserved.