Package org.camunda.bpm.container.impl

Examples of org.camunda.bpm.container.impl.RuntimeContainerDelegateImpl


  protected ProcessApplicationService processApplicationService;

  @PostConstruct
  protected void start() {

    final RuntimeContainerDelegateImpl containerDelegate = getContainerDelegate();
   
    containerDelegate.getServiceContainer().createDeploymentOperation("deploying camunda BPM platform")
      .addStep(new EjbJarParsePlatformXmlStep())
      .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.");
  }
View Full Code Here


  }
 
  @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())
      .execute();
View Full Code Here

TOP

Related Classes of org.camunda.bpm.container.impl.RuntimeContainerDelegateImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.