Class EjbProcessEngineService
- java.lang.Object
-
- org.camunda.bpm.container.impl.ejb.EjbProcessEngineService
-
- All Implemented Interfaces:
ProcessEngineService
public class EjbProcessEngineService extends java.lang.Object implements ProcessEngineService
Exposes the
ProcessEngineService
as EJB inside the container.- Author:
- Daniel Meyer
-
-
Field Summary
Fields Modifier and Type Field Description protected EjbBpmPlatformBootstrap
ejbBpmPlatform
protected ProcessEngineService
processEngineServiceDelegate
the processEngineServiceDelegate
-
Constructor Summary
Constructors Constructor Description EjbProcessEngineService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProcessEngine
getDefaultProcessEngine()
ProcessEngine
getProcessEngine(java.lang.String name)
java.util.Set<java.lang.String>
getProcessEngineNames()
java.util.List<ProcessEngine>
getProcessEngines()
protected void
initProcessEngineServiceDelegate()
-
-
-
Field Detail
-
ejbBpmPlatform
protected EjbBpmPlatformBootstrap ejbBpmPlatform
-
processEngineServiceDelegate
protected ProcessEngineService processEngineServiceDelegate
the processEngineServiceDelegate
-
-
Method Detail
-
initProcessEngineServiceDelegate
@PostConstruct protected void initProcessEngineServiceDelegate()
-
getDefaultProcessEngine
public ProcessEngine getDefaultProcessEngine()
- Specified by:
getDefaultProcessEngine
in interfaceProcessEngineService
- Returns:
- the default process engine.
-
getProcessEngines
public java.util.List<ProcessEngine> getProcessEngines()
- Specified by:
getProcessEngines
in interfaceProcessEngineService
- Returns:
- all
ProcessEngines
managed by the Camunda Platform.
-
getProcessEngineNames
public java.util.Set<java.lang.String> getProcessEngineNames()
- Specified by:
getProcessEngineNames
in interfaceProcessEngineService
- Returns:
- the names of all
ProcessEngines
managed by the Camunda Platform.
-
getProcessEngine
public ProcessEngine getProcessEngine(java.lang.String name)
- Specified by:
getProcessEngine
in interfaceProcessEngineService
- Returns:
- the
ProcessEngine
for the given name or null if no such process engine exists.
-
-