Class ContainerManagedProcessEngineProvider
- java.lang.Object
-
- org.camunda.bpm.engine.rest.impl.application.ContainerManagedProcessEngineProvider
-
- All Implemented Interfaces:
ProcessEngineProvider
public class ContainerManagedProcessEngineProvider extends Object implements ProcessEngineProvider
Uses the
ProcessEngineService
and exposes the default process engine- Author:
- Daniel Meyer
-
-
Constructor Summary
Constructors Constructor Description ContainerManagedProcessEngineProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProcessEngine
getDefaultProcessEngine()
Provides the default engine.ProcessEngine
getProcessEngine(String name)
Provides the engine with the given name.Set<String>
getProcessEngineNames()
Returns the name of all known process engines.
-
-
-
Method Detail
-
getDefaultProcessEngine
public ProcessEngine getDefaultProcessEngine()
Description copied from interface:ProcessEngineProvider
Provides the default engine. Has to return null if no default engine exists.- Specified by:
getDefaultProcessEngine
in interfaceProcessEngineProvider
-
getProcessEngine
public ProcessEngine getProcessEngine(String name)
Description copied from interface:ProcessEngineProvider
Provides the engine with the given name. Has to return null if no such engine exists.- Specified by:
getProcessEngine
in interfaceProcessEngineProvider
-
getProcessEngineNames
public Set<String> getProcessEngineNames()
Description copied from interface:ProcessEngineProvider
Returns the name of all known process engines. Returns an empty set if no engines are accessible.- Specified by:
getProcessEngineNames
in interfaceProcessEngineProvider
-
-