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
The current RuntimeContainerDelegate
can be obtained through the static INSTANCE
field.
Modifier and Type | Interface and Description |
---|---|
static class |
RuntimeContainerDelegate.RuntimeContainerDelegateInstance
Holder of the current
RuntimeContainerDelegate instance. |
Modifier and Type | Field and Description |
---|---|
static RuntimeContainerDelegate.RuntimeContainerDelegateInstance |
INSTANCE
Holds the current
RuntimeContainerDelegate instance |
Modifier and Type | Method and Description |
---|---|
void |
deployProcessApplication(AbstractProcessApplication processApplication)
Deploy a
AbstractProcessApplication into the runtime container. |
ProcessApplicationReference |
getDeployedProcessApplication(String name) |
ExecutorService |
getExecutorService() |
ProcessApplicationService |
getProcessApplicationService() |
ProcessEngineService |
getProcessEngineService() |
void |
registerProcessEngine(ProcessEngine processEngine)
Adds a managed
ProcessEngine to the runtime container. |
void |
undeployProcessApplication(AbstractProcessApplication processApplication)
Undeploy a
AbstractProcessApplication from the runtime container. |
void |
unregisterProcessEngine(ProcessEngine processEngine)
Unregisters a managed
ProcessEngine instance from the Runtime Container. |
static final RuntimeContainerDelegate.RuntimeContainerDelegateInstance INSTANCE
RuntimeContainerDelegate
instancevoid registerProcessEngine(ProcessEngine processEngine)
Adds a managed ProcessEngine
to the runtime container.
Process Engines registered through this method are returned by the ProcessEngineService
.
void unregisterProcessEngine(ProcessEngine processEngine)
Unregisters a managed ProcessEngine
instance from the Runtime Container.
void deployProcessApplication(AbstractProcessApplication processApplication)
AbstractProcessApplication
into the runtime container.void undeployProcessApplication(AbstractProcessApplication processApplication)
AbstractProcessApplication
from the runtime container.ProcessEngineService getProcessEngineService()
ProcessEngineService
implementation.ProcessApplicationService getProcessApplicationService()
ProcessApplicationService
implementationExecutorService getExecutorService()
ExecutorService
implementationProcessApplicationReference getDeployedProcessApplication(String name)
Copyright © 2022. All rights reserved.