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
Modifier and TypeInterfaceDescriptionstatic class
Holder of the currentRuntimeContainerDelegate
instance. -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deployProcessApplication
(AbstractProcessApplication processApplication) Deploy aAbstractProcessApplication
into the runtime container.void
registerProcessEngine
(ProcessEngine processEngine) Adds a managedProcessEngine
to the runtime container.void
undeployProcessApplication
(AbstractProcessApplication processApplication) Undeploy aAbstractProcessApplication
from the runtime container.void
unregisterProcessEngine
(ProcessEngine processEngine) Unregisters a managedProcessEngine
instance from the Runtime Container.
-
Field Details
-
INSTANCE
Holds the currentRuntimeContainerDelegate
instance
-
-
Method Details
-
registerProcessEngine
Adds a managed
ProcessEngine
to the runtime container.Process Engines registered through this method are returned by the
ProcessEngineService
. -
unregisterProcessEngine
Unregisters a managed
ProcessEngine
instance from the Runtime Container. -
deployProcessApplication
Deploy aAbstractProcessApplication
into the runtime container. -
undeployProcessApplication
Undeploy aAbstractProcessApplication
from the runtime container. -
getProcessEngineService
ProcessEngineService getProcessEngineService()- Returns:
- the Container's
ProcessEngineService
implementation.
-
getProcessApplicationService
ProcessApplicationService getProcessApplicationService()- Returns:
- the Container's
ProcessApplicationService
implementation
-
getExecutorService
ExecutorService getExecutorService()- Returns:
- the Runtime Container's
ExecutorService
implementation
-
getDeployedProcessApplication
- Returns:
- a reference to the process application with the given name if deployed; null otherwise
-