Search in sources :

Example 1 with EjbJarParsePlatformXmlStep

use of org.camunda.bpm.container.impl.ejb.deployment.EjbJarParsePlatformXmlStep in project camunda-bpm-platform by camunda.

the class EjbBpmPlatformBootstrap method start.

@PostConstruct
protected void start() {
    final RuntimeContainerDelegateImpl containerDelegate = getContainerDelegate();
    containerDelegate.getServiceContainer().createDeploymentOperation("deploying camunda BPM platform").addStep(new EjbJarParsePlatformXmlStep()).addStep(new DiscoverBpmPlatformPluginsStep()).addStep(new StartJcaExecutorServiceStep(executorServiceBean)).addStep(new StartJobExecutorStep()).addStep(new PlatformXmlStartProcessEnginesStep()).execute();
    processEngineService = containerDelegate.getProcessEngineService();
    processApplicationService = containerDelegate.getProcessApplicationService();
    LOGGER.log(Level.INFO, "camunda BPM platform started successfully.");
}
Also used : StartJobExecutorStep(org.camunda.bpm.container.impl.deployment.jobexecutor.StartJobExecutorStep) DiscoverBpmPlatformPluginsStep(org.camunda.bpm.container.impl.deployment.DiscoverBpmPlatformPluginsStep) PlatformXmlStartProcessEnginesStep(org.camunda.bpm.container.impl.deployment.PlatformXmlStartProcessEnginesStep) StartJcaExecutorServiceStep(org.camunda.bpm.container.impl.ejb.deployment.StartJcaExecutorServiceStep) RuntimeContainerDelegateImpl(org.camunda.bpm.container.impl.RuntimeContainerDelegateImpl) EjbJarParsePlatformXmlStep(org.camunda.bpm.container.impl.ejb.deployment.EjbJarParsePlatformXmlStep) PostConstruct(javax.annotation.PostConstruct)

Aggregations

PostConstruct (javax.annotation.PostConstruct)1 RuntimeContainerDelegateImpl (org.camunda.bpm.container.impl.RuntimeContainerDelegateImpl)1 DiscoverBpmPlatformPluginsStep (org.camunda.bpm.container.impl.deployment.DiscoverBpmPlatformPluginsStep)1 PlatformXmlStartProcessEnginesStep (org.camunda.bpm.container.impl.deployment.PlatformXmlStartProcessEnginesStep)1 StartJobExecutorStep (org.camunda.bpm.container.impl.deployment.jobexecutor.StartJobExecutorStep)1 EjbJarParsePlatformXmlStep (org.camunda.bpm.container.impl.ejb.deployment.EjbJarParsePlatformXmlStep)1 StartJcaExecutorServiceStep (org.camunda.bpm.container.impl.ejb.deployment.StartJcaExecutorServiceStep)1