org.camunda.bpm.container.impl.deployment
Class StartProcessEngineStep

java.lang.Object
  extended by org.camunda.bpm.container.impl.spi.DeploymentOperationStep
      extended by org.camunda.bpm.container.impl.deployment.StartProcessEngineStep

public class StartProcessEngineStep
extends DeploymentOperationStep

Deployment operation step responsible for starting a managed process engine inside the runtime container.

Author:
Daniel Meyer

Field Summary
protected  ProcessEngineXml processEngineXml
          the process engine Xml configuration passed in as a parameter to the operation step
 
Constructor Summary
StartProcessEngineStep(ProcessEngineXml processEngineXml)
           
 
Method Summary
protected  void configureCustomRetryStrategy(ProcessEngineConfigurationImpl configurationImpl)
           
protected  void configurePlugins(ProcessEngineConfigurationImpl configuration, ProcessEngineXml processEngineXml, ClassLoader classLoader)
          Instantiates and applies all ProcessEnginePlugins defined in the processEngineXml
protected
<T> T
createInstance(Class<? extends T> clazz)
           
protected  JmxManagedProcessEngineController createProcessEngineControllerInstance(ProcessEngineConfigurationImpl configuration)
           
protected  JobExecutor getJobExecutorService(PlatformServiceContainer serviceContainer)
           
 String getName()
           
protected
<T> Class<? extends T>
loadClass(String className, ClassLoader customClassloader, Class<T> clazz)
           
 void performOperationStep(DeploymentOperation operationContext)
           
protected  void setJobExecutorActivate(ProcessEngineConfigurationImpl configuration, Map<String,String> properties)
           
 
Methods inherited from class org.camunda.bpm.container.impl.spi.DeploymentOperationStep
cancelOperationStep
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

processEngineXml

protected final ProcessEngineXml processEngineXml
the process engine Xml configuration passed in as a parameter to the operation step

Constructor Detail

StartProcessEngineStep

public StartProcessEngineStep(ProcessEngineXml processEngineXml)
Method Detail

getName

public String getName()
Specified by:
getName in class DeploymentOperationStep

performOperationStep

public void performOperationStep(DeploymentOperation operationContext)
Specified by:
performOperationStep in class DeploymentOperationStep

setJobExecutorActivate

protected void setJobExecutorActivate(ProcessEngineConfigurationImpl configuration,
                                      Map<String,String> properties)

createProcessEngineControllerInstance

protected JmxManagedProcessEngineController createProcessEngineControllerInstance(ProcessEngineConfigurationImpl configuration)

configureCustomRetryStrategy

protected void configureCustomRetryStrategy(ProcessEngineConfigurationImpl configurationImpl)

configurePlugins

protected void configurePlugins(ProcessEngineConfigurationImpl configuration,
                                ProcessEngineXml processEngineXml,
                                ClassLoader classLoader)

Instantiates and applies all ProcessEnginePlugins defined in the processEngineXml


getJobExecutorService

protected JobExecutor getJobExecutorService(PlatformServiceContainer serviceContainer)

createInstance

protected <T> T createInstance(Class<? extends T> clazz)

loadClass

protected <T> Class<? extends T> loadClass(String className,
                                           ClassLoader customClassloader,
                                           Class<T> clazz)


Copyright © 2017 camunda services GmbH. All rights reserved.