Package org.camunda.bpm.container
Interface RuntimeContainerDelegate
-
- All Known Implementing Classes:
MscRuntimeContainerDelegate,RuntimeContainerDelegateImpl
public interface RuntimeContainerDelegateThe
RuntimeContainerDelegatein an SPI that allows the process engine to integrate with the runtime container in which it is deployed. Examples of "runtime containers" are- WildFly (Module Service Container),
- The JMX Container,
- An OSGi Runtime,
- ...
The current
RuntimeContainerDelegatecan be obtained through the staticINSTANCEfield.- Author:
- Daniel Meyer
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classRuntimeContainerDelegate.RuntimeContainerDelegateInstanceHolder of the currentRuntimeContainerDelegateinstance.
-
Field Summary
Fields Modifier and Type Field Description static RuntimeContainerDelegate.RuntimeContainerDelegateInstanceINSTANCEHolds the currentRuntimeContainerDelegateinstance
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddeployProcessApplication(AbstractProcessApplication processApplication)Deploy aAbstractProcessApplicationinto the runtime container.ProcessApplicationReferencegetDeployedProcessApplication(java.lang.String name)ExecutorServicegetExecutorService()ProcessApplicationServicegetProcessApplicationService()ProcessEngineServicegetProcessEngineService()voidregisterProcessEngine(ProcessEngine processEngine)Adds a managedProcessEngineto the runtime container.voidundeployProcessApplication(AbstractProcessApplication processApplication)Undeploy aAbstractProcessApplicationfrom the runtime container.voidunregisterProcessEngine(ProcessEngine processEngine)Unregisters a managedProcessEngineinstance from the Runtime Container.
-
-
-
Field Detail
-
INSTANCE
static final RuntimeContainerDelegate.RuntimeContainerDelegateInstance INSTANCE
Holds the currentRuntimeContainerDelegateinstance
-
-
Method Detail
-
registerProcessEngine
void registerProcessEngine(ProcessEngine processEngine)
Adds a managed
ProcessEngineto the runtime container.Process Engines registered through this method are returned by the
ProcessEngineService.
-
unregisterProcessEngine
void unregisterProcessEngine(ProcessEngine processEngine)
Unregisters a managed
ProcessEngineinstance from the Runtime Container.
-
deployProcessApplication
void deployProcessApplication(AbstractProcessApplication processApplication)
Deploy aAbstractProcessApplicationinto the runtime container.
-
undeployProcessApplication
void undeployProcessApplication(AbstractProcessApplication processApplication)
Undeploy aAbstractProcessApplicationfrom the runtime container.
-
getProcessEngineService
ProcessEngineService getProcessEngineService()
- Returns:
- the Container's
ProcessEngineServiceimplementation.
-
getProcessApplicationService
ProcessApplicationService getProcessApplicationService()
- Returns:
- the Container's
ProcessApplicationServiceimplementation
-
getExecutorService
ExecutorService getExecutorService()
- Returns:
- the Runtime Container's
ExecutorServiceimplementation
-
getDeployedProcessApplication
ProcessApplicationReference getDeployedProcessApplication(java.lang.String name)
- Returns:
- a reference to the process application with the given name if deployed; null otherwise
-
-