private JobExecutorXml getJobExecutorXml(DeploymentOperation operationContext) { BpmPlatformXml bpmPlatformXml = operationContext.getAttachment(Attachments.BPM_PLATFORM_XML); JobExecutorXml jobExecutorXml = bpmPlatformXml.JobExecutor; return(jobExecutorXml); }
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); }
public override void performOperationStep(DeploymentOperation operationContext) { IDictionary<URL, ProcessesXml> processesXmls = operationContext.getAttachment(PROCESSES_XML_RESOURCES); foreach (KeyValuePair<URL, ProcessesXml> processesXml in processesXmls.SetOfKeyValuePairs()) { foreach (ProcessArchiveXml processArchive in processesXml.Value.ProcessArchives) { // for each process archive add an individual operation step operationContext.addStep(createDeployProcessArchiveStep(processArchive, processesXml.Key)); } } }
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); } } }