org.camunda.bpm.container
Interface RuntimeContainerDelegate

All Known Implementing Classes:
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

The current RuntimeContainerDelegate can be obtained through the static INSTANCE field.

Author:
Daniel Meyer

Nested Class Summary
static class RuntimeContainerDelegate.RuntimeContainerDelegateInstance
          Holder of the current RuntimeContainerDelegate instance.
 
Field Summary
static RuntimeContainerDelegate.RuntimeContainerDelegateInstance INSTANCE
          Holds the current RuntimeContainerDelegate instance
 
Method Summary
 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.
 

Field Detail

INSTANCE

static final RuntimeContainerDelegate.RuntimeContainerDelegateInstance INSTANCE
Holds the current RuntimeContainerDelegate instance

Method Detail

registerProcessEngine

void registerProcessEngine(ProcessEngine processEngine)

Adds a managed ProcessEngine to the runtime container.

Process Engines registered through this method are returned by the ProcessEngineService.


unregisterProcessEngine

void unregisterProcessEngine(ProcessEngine processEngine)

Unregisters a managed ProcessEngine instance from the Runtime Container.


deployProcessApplication

void deployProcessApplication(AbstractProcessApplication processApplication)
Deploy a AbstractProcessApplication into the runtime container.


undeployProcessApplication

void undeployProcessApplication(AbstractProcessApplication processApplication)
Undeploy a AbstractProcessApplication 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

ProcessApplicationReference getDeployedProcessApplication(String name)
Returns:
a reference to the process application with the given name if deployed; null otherwise


Copyright © 2016 camunda services GmbH. All rights reserved.