Class EjbProcessEngineService
- java.lang.Object
-
- org.camunda.bpm.container.impl.ejb.EjbProcessEngineService
-
- All Implemented Interfaces:
ProcessEngineService
public class EjbProcessEngineService extends 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(String name)
Set<String>
getProcessEngineNames()
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 List<ProcessEngine> getProcessEngines()
- Specified by:
getProcessEngines
in interfaceProcessEngineService
- Returns:
- all
ProcessEngines
managed by the Camunda Platform.
-
getProcessEngineNames
public Set<String> getProcessEngineNames()
- Specified by:
getProcessEngineNames
in interfaceProcessEngineService
- Returns:
- the names of all
ProcessEngines
managed by the Camunda Platform.
-
getProcessEngine
public ProcessEngine getProcessEngine(String name)
- Specified by:
getProcessEngine
in interfaceProcessEngineService
- Returns:
- the
ProcessEngine
for the given name or null if no such process engine exists.
-
-