use of org.camunda.bpm.container.impl.deployment.PlatformXmlStartProcessEnginesStep in project camunda-bpm-platform by camunda.
the class TomcatBpmPlatformBootstrap method deployBpmPlatform.
protected void deployBpmPlatform(LifecycleEvent event) {
final StandardServer server = (StandardServer) event.getSource();
containerDelegate.getServiceContainer().createDeploymentOperation("deploy BPM platform").addAttachment(TomcatAttachments.SERVER, server).addStep(new TomcatParseBpmPlatformXmlStep()).addStep(new DiscoverBpmPlatformPluginsStep()).addStep(new StartManagedThreadPoolStep()).addStep(new StartJobExecutorStep()).addStep(new PlatformXmlStartProcessEnginesStep()).execute();
LOG.camundaBpmPlatformSuccessfullyStarted(server.getServerInfo());
}
use of org.camunda.bpm.container.impl.deployment.PlatformXmlStartProcessEnginesStep in project camunda-bpm-platform by camunda.
the class PlatformJobExecutorActivateTest method deployPlatform.
private void deployPlatform(BpmPlatformXmlImpl bpmPlatformXml) {
RuntimeContainerDelegateImpl containerDelegate = (RuntimeContainerDelegateImpl) RuntimeContainerDelegate.INSTANCE.get();
containerDelegate.getServiceContainer().createDeploymentOperation("deploy BPM platform").addAttachment(Attachments.BPM_PLATFORM_XML, bpmPlatformXml).addStep(new StartManagedThreadPoolStep()).addStep(new StartJobExecutorStep()).addStep(new PlatformXmlStartProcessEnginesStep()).execute();
}
use of org.camunda.bpm.container.impl.deployment.PlatformXmlStartProcessEnginesStep 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.");
}
Aggregations