use of org.camunda.bpm.container.impl.deployment.DiscoverBpmPlatformPluginsStep 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.DiscoverBpmPlatformPluginsStep 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