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; serviceContainer.stopService(serviceName); }
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); }
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); }
public override URL getBpmPlatformXmlStream(DeploymentOperation operationcontext) { URL fileLocation = lookupBpmPlatformXml(); if (fileLocation == null) { fileLocation = lookupBpmPlatformXmlFromCatalinaConfDirectory(); } return(fileLocation); }
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) { //JAVA TO C# CONVERTER WARNING: The original Java variable was marked 'final': //ORIGINAL LINE: final org.camunda.bpm.container.impl.metadata.spi.JobExecutorXml jobExecutorXml = getJobExecutorXml(operationContext); JobExecutorXml jobExecutorXml = getJobExecutorXml(operationContext); // add a deployment operation step for each job acquisition foreach (JobAcquisitionXml jobAcquisitionXml in jobExecutorXml.JobAcquisitions) { operationContext.addStep(new StartJobAcquisitionStep(jobAcquisitionXml)); } }
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); } } }
public override void performOperationStep(DeploymentOperation operationContext) { PlatformServiceContainer serviceContainer = operationContext.ServiceContainer; serviceContainer.stopService(ServiceTypes.BPM_PLATFORM, RuntimeContainerDelegateImpl.SERVICE_NAME_PLATFORM_PLUGINS); }
public override URL getBpmPlatformXmlStream(DeploymentOperation operationContext) { return(lookupBpmPlatformXml()); }