org.camunda.bpm.container.impl.spi
Interface PlatformServiceContainer

All Known Implementing Classes:
MBeanServiceContainer

public interface PlatformServiceContainer

Author:
Daniel Meyer, Roman Smirnov, Ronny Bräunlich

Nested Class Summary
static interface PlatformServiceContainer.ServiceType
          A ServiceType is a collection of services that share a common name prefix.
 
Method Summary
 DeploymentOperation.DeploymentOperationBuilder createDeploymentOperation(String name)
           
 DeploymentOperation.DeploymentOperationBuilder createUndeploymentOperation(String name)
           
 void executeDeploymentOperation(DeploymentOperation operation)
           
<S> S
getService(PlatformServiceContainer.ServiceType type, String localName)
          get a specific service by name or null if no such Service exists.
 Set<String> getServiceNames(PlatformServiceContainer.ServiceType type)
           
<S> List<PlatformService<S>>
getServicesByType(PlatformServiceContainer.ServiceType type)
           
<S> S
getServiceValue(PlatformServiceContainer.ServiceType type, String localName)
          get the service value for a specific service by name or null if no such Service exists.
<S> List<S>
getServiceValuesByType(PlatformServiceContainer.ServiceType type)
           
<S> void
startService(PlatformServiceContainer.ServiceType serviceType, String localName, PlatformService<S> service)
           
<S> void
startService(String serviceName, PlatformService<S> service)
           
 void stopService(PlatformServiceContainer.ServiceType serviceType, String localName)
           
 void stopService(String serviceName)
           
 

Method Detail

startService

<S> void startService(PlatformServiceContainer.ServiceType serviceType,
                      String localName,
                      PlatformService<S> service)

startService

<S> void startService(String serviceName,
                      PlatformService<S> service)

stopService

void stopService(PlatformServiceContainer.ServiceType serviceType,
                 String localName)

stopService

void stopService(String serviceName)

createDeploymentOperation

DeploymentOperation.DeploymentOperationBuilder createDeploymentOperation(String name)

createUndeploymentOperation

DeploymentOperation.DeploymentOperationBuilder createUndeploymentOperation(String name)

getService

<S> S getService(PlatformServiceContainer.ServiceType type,
                 String localName)
get a specific service by name or null if no such Service exists.


getServiceValue

<S> S getServiceValue(PlatformServiceContainer.ServiceType type,
                      String localName)
get the service value for a specific service by name or null if no such Service exists.


getServicesByType

<S> List<PlatformService<S>> getServicesByType(PlatformServiceContainer.ServiceType type)
Returns:
all services for a specific PlatformServiceContainer.ServiceType

getServiceNames

Set<String> getServiceNames(PlatformServiceContainer.ServiceType type)
Returns:
the service names ( ObjectName ) for all services for a given type

getServiceValuesByType

<S> List<S> getServiceValuesByType(PlatformServiceContainer.ServiceType type)
Returns:
the values of all services for a specific PlatformServiceContainer.ServiceType

executeDeploymentOperation

void executeDeploymentOperation(DeploymentOperation operation)


Copyright © 2017 camunda services GmbH. All rights reserved.