Search in sources :

Example 1 with StopManagedThreadPoolStep

use of org.camunda.bpm.container.impl.deployment.jobexecutor.StopManagedThreadPoolStep in project camunda-bpm-platform by camunda.

the class TomcatBpmPlatformBootstrap method undeployBpmPlatform.

protected void undeployBpmPlatform(LifecycleEvent event) {
    final StandardServer server = (StandardServer) event.getSource();
    containerDelegate.getServiceContainer().createUndeploymentOperation("undeploy BPM platform").addAttachment(TomcatAttachments.SERVER, server).addStep(new StopJobExecutorStep()).addStep(new StopManagedThreadPoolStep()).addStep(new StopProcessApplicationsStep()).addStep(new StopProcessEnginesStep()).addStep(new UnregisterBpmPlatformPluginsStep()).execute();
    LOG.camundaBpmPlatformStopped(server.getServerInfo());
}
Also used : StopJobExecutorStep(org.camunda.bpm.container.impl.deployment.jobexecutor.StopJobExecutorStep) StandardServer(org.apache.catalina.core.StandardServer) StopManagedThreadPoolStep(org.camunda.bpm.container.impl.deployment.jobexecutor.StopManagedThreadPoolStep) StopProcessEnginesStep(org.camunda.bpm.container.impl.deployment.StopProcessEnginesStep) StopProcessApplicationsStep(org.camunda.bpm.container.impl.deployment.StopProcessApplicationsStep) UnregisterBpmPlatformPluginsStep(org.camunda.bpm.container.impl.deployment.UnregisterBpmPlatformPluginsStep)

Aggregations

StandardServer (org.apache.catalina.core.StandardServer)1 StopProcessApplicationsStep (org.camunda.bpm.container.impl.deployment.StopProcessApplicationsStep)1 StopProcessEnginesStep (org.camunda.bpm.container.impl.deployment.StopProcessEnginesStep)1 UnregisterBpmPlatformPluginsStep (org.camunda.bpm.container.impl.deployment.UnregisterBpmPlatformPluginsStep)1 StopJobExecutorStep (org.camunda.bpm.container.impl.deployment.jobexecutor.StopJobExecutorStep)1 StopManagedThreadPoolStep (org.camunda.bpm.container.impl.deployment.jobexecutor.StopManagedThreadPoolStep)1