Search in sources :

Example 1 with StopJcaExecutorServiceStep

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

the class EjbBpmPlatformBootstrap method stop.

@PreDestroy
protected void stop() {
    final RuntimeContainerDelegateImpl containerDelegate = getContainerDelegate();
    containerDelegate.getServiceContainer().createUndeploymentOperation("undeploying camunda BPM platform").addStep(new StopProcessApplicationsStep()).addStep(new StopProcessEnginesStep()).addStep(new StopJobExecutorStep()).addStep(new StopJcaExecutorServiceStep()).addStep(new UnregisterBpmPlatformPluginsStep()).execute();
    LOGGER.log(Level.INFO, "camunda BPM platform stopped.");
}
Also used : StopJobExecutorStep(org.camunda.bpm.container.impl.deployment.jobexecutor.StopJobExecutorStep) StopJcaExecutorServiceStep(org.camunda.bpm.container.impl.ejb.deployment.StopJcaExecutorServiceStep) StopProcessEnginesStep(org.camunda.bpm.container.impl.deployment.StopProcessEnginesStep) RuntimeContainerDelegateImpl(org.camunda.bpm.container.impl.RuntimeContainerDelegateImpl) StopProcessApplicationsStep(org.camunda.bpm.container.impl.deployment.StopProcessApplicationsStep) UnregisterBpmPlatformPluginsStep(org.camunda.bpm.container.impl.deployment.UnregisterBpmPlatformPluginsStep) PreDestroy(javax.annotation.PreDestroy)

Aggregations

PreDestroy (javax.annotation.PreDestroy)1 RuntimeContainerDelegateImpl (org.camunda.bpm.container.impl.RuntimeContainerDelegateImpl)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 StopJcaExecutorServiceStep (org.camunda.bpm.container.impl.ejb.deployment.StopJcaExecutorServiceStep)1