コード例 #1
0
        public override void performOperationStep(DeploymentOperation operationContext)
        {
//JAVA TO C# CONVERTER WARNING: The original Java variable was marked 'final':
//ORIGINAL LINE: final org.camunda.bpm.container.impl.spi.PlatformServiceContainer serviceContainer = operationContext.getServiceContainer();
            PlatformServiceContainer serviceContainer = operationContext.ServiceContainer;

            serviceContainer.stopService(serviceName);
        }
コード例 #2
0
        public override void performOperationStep(DeploymentOperation operationContext)
        {
//JAVA TO C# CONVERTER WARNING: The original Java variable was marked 'final':
//ORIGINAL LINE: final org.camunda.bpm.container.impl.spi.PlatformServiceContainer serviceContainer = operationContext.getServiceContainer();
            PlatformServiceContainer serviceContainer = operationContext.ServiceContainer;

            serviceContainer.stopService(ServiceTypes.BPM_PLATFORM, RuntimeContainerDelegateImpl.SERVICE_NAME_EXECUTOR);
        }
コード例 #3
0
        public override void performOperationStep(DeploymentOperation operationContext)
        {
            PlatformServiceContainer serviceContainer = operationContext.ServiceContainer;

            BpmPlatformPlugins plugins = BpmPlatformPlugins.load(PluginsClassloader);

            JmxManagedBpmPlatformPlugins jmxManagedPlugins = new JmxManagedBpmPlatformPlugins(plugins);

            serviceContainer.startService(ServiceTypes.BPM_PLATFORM, RuntimeContainerDelegateImpl.SERVICE_NAME_PLATFORM_PLUGINS, jmxManagedPlugins);
        }
コード例 #4
0
        public override void performOperationStep(DeploymentOperation operationContext)
        {
//JAVA TO C# CONVERTER WARNING: The original Java variable was marked 'final':
//ORIGINAL LINE: final org.camunda.bpm.container.impl.spi.PlatformServiceContainer serviceContainer = operationContext.getServiceContainer();
            PlatformServiceContainer serviceContainer = operationContext.ServiceContainer;
//JAVA TO C# CONVERTER WARNING: The original Java variable was marked 'final':
//ORIGINAL LINE: final org.camunda.bpm.application.AbstractProcessApplication processApplication = operationContext.getAttachment(Attachments.PROCESS_APPLICATION);
            AbstractProcessApplication processApplication = operationContext.getAttachment(Attachments.PROCESS_APPLICATION);

            // remove the service
            serviceContainer.stopService(ServiceTypes.PROCESS_APPLICATION, processApplication.Name);
        }
コード例 #5
0
        public override void performOperationStep(DeploymentOperation operationContext)
        {
//JAVA TO C# CONVERTER WARNING: The original Java variable was marked 'final':
//ORIGINAL LINE: final org.camunda.bpm.application.AbstractProcessApplication processApplication = operationContext.getAttachment(Attachments.PROCESS_APPLICATION);
            AbstractProcessApplication processApplication = operationContext.getAttachment(Attachments.PROCESS_APPLICATION);

//JAVA TO C# CONVERTER WARNING: The original Java variable was marked 'final':
//ORIGINAL LINE: final org.camunda.bpm.container.impl.spi.PlatformServiceContainer serviceContainer = operationContext.getServiceContainer();
            PlatformServiceContainer serviceContainer = operationContext.ServiceContainer;
//JAVA TO C# CONVERTER WARNING: The original Java variable was marked 'final':
//ORIGINAL LINE: final org.camunda.bpm.container.impl.jmx.services.JmxManagedBpmPlatformPlugins plugins = serviceContainer.getService(org.camunda.bpm.container.impl.spi.ServiceTypes.BPM_PLATFORM, org.camunda.bpm.container.impl.RuntimeContainerDelegateImpl.SERVICE_NAME_PLATFORM_PLUGINS);
            JmxManagedBpmPlatformPlugins plugins = serviceContainer.getService(ServiceTypes.BPM_PLATFORM, RuntimeContainerDelegateImpl.SERVICE_NAME_PLATFORM_PLUGINS);

            if (plugins != null)
            {
                foreach (BpmPlatformPlugin plugin in plugins.Value.Plugins)
                {
                    plugin.postProcessApplicationUndeploy(processApplication);
                }
            }
        }
コード例 #6
0
 public virtual void stop(PlatformServiceContainer mBeanServiceContainer)
 {
     // nothing to do
 }
コード例 #7
0
        public override void performOperationStep(DeploymentOperation operationContext)
        {
            PlatformServiceContainer serviceContainer = operationContext.ServiceContainer;

            serviceContainer.stopService(ServiceTypes.BPM_PLATFORM, RuntimeContainerDelegateImpl.SERVICE_NAME_PLATFORM_PLUGINS);
        }
コード例 #8
0
 public virtual void stop(PlatformServiceContainer mBeanServiceContainer)
 {
     shutdown();
 }
コード例 #9
0
 public virtual void start(PlatformServiceContainer mBeanServiceContainer)
 {
     // no-op:
     // job executor is lazy-started when first process engine is registered and jobExecutorActivate = true
     // See: #CAM-4817
 }
コード例 #10
0
 public override void stop(PlatformServiceContainer container)
 {
     processEngine.close();
 }
コード例 #11
0
 public override void start(PlatformServiceContainer contanier)
 {
     processEngine = processEngineConfiguration.buildProcessEngine();
 }
コード例 #12
0
 public virtual void start(PlatformServiceContainer mBeanServiceContainer)
 {
 }