Package org.camunda.bpm.container
Interface RuntimeContainerDelegate
- All Known Implementing Classes:
MscRuntimeContainerDelegate,RuntimeContainerDelegateImpl
public interface RuntimeContainerDelegate
The RuntimeContainerDelegate in 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 RuntimeContainerDelegate can be obtained through the static INSTANCE field.
- Author:
- Daniel Meyer
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classHolder of the currentRuntimeContainerDelegateinstance. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoiddeployProcessApplication(AbstractProcessApplication processApplication) Deploy aAbstractProcessApplicationinto the runtime container.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 Details
-
INSTANCE
Holds the currentRuntimeContainerDelegateinstance
-
-
Method Details
-
registerProcessEngine
Adds a managed
ProcessEngineto the runtime container.Process Engines registered through this method are returned by the
ProcessEngineService. -
unregisterProcessEngine
Unregisters a managed
ProcessEngineinstance from the Runtime Container. -
deployProcessApplication
Deploy aAbstractProcessApplicationinto the runtime container. -
undeployProcessApplication
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
- Returns:
- a reference to the process application with the given name if deployed; null otherwise
-