org.camunda.bpm.application.impl
Class EjbProcessApplicationReference

java.lang.Object
  extended by org.camunda.bpm.application.impl.EjbProcessApplicationReference
All Implemented Interfaces:
ProcessApplicationReference

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.

Author:
Daniel Meyer

Field Summary
protected  String processApplicationName
          the name of the process application
protected  ProcessApplicationInterface selfReference
          this is an EjbProxy and can be cached
 
Constructor Summary
EjbProcessApplicationReference(ProcessApplicationInterface selfReference, String name)
           
 
Method Summary
 String getName()
           
 ProcessApplicationInterface getProcessApplication()
          Get the process application.
 void processEngineStopping(ProcessEngine processEngine)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

selfReference

protected ProcessApplicationInterface selfReference
this is an EjbProxy and can be cached


processApplicationName

protected String processApplicationName
the name of the process application

Constructor Detail

EjbProcessApplicationReference

public EjbProcessApplicationReference(ProcessApplicationInterface selfReference,
                                      String name)
Method Detail

getName

public String getName()
Specified by:
getName in interface ProcessApplicationReference
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 interface ProcessApplicationReference
Returns:
the AbstractProcessApplication
Throws:
ProcessApplicationUnavailableException - if the process application is unavailable

processEngineStopping

public void processEngineStopping(ProcessEngine processEngine)
                           throws ProcessApplicationUnavailableException
Throws:
ProcessApplicationUnavailableException


Copyright © 2017 camunda services GmbH. All rights reserved.