//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test @OperateOnDeployment("test1") public void testNonExistingEngineRetrieval() public virtual void testNonExistingEngineRetrieval() { ProcessEngineService engineService = BpmPlatform.ProcessEngineService; ProcessEngine engine = engineService.getProcessEngine("aNonExistingEngineName"); Assert.assertNull(engine); }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Before public void setEngines() public virtual void setEngines() { ProcessEngineService engineService = BpmPlatform.ProcessEngineService; engine1 = engineService.getProcessEngine("engine1"); engine1Configuration = ((ProcessEngineImpl)engine1).ProcessEngineConfiguration; }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @PostConstruct protected void start() protected internal virtual void start() { //JAVA TO C# CONVERTER WARNING: The original Java variable was marked 'final': //ORIGINAL LINE: final org.camunda.bpm.container.impl.RuntimeContainerDelegateImpl containerDelegate = getContainerDelegate(); RuntimeContainerDelegateImpl containerDelegate = ContainerDelegate; containerDelegate.ServiceContainer.createDeploymentOperation("deploying camunda BPM platform").addStep(new EjbJarParsePlatformXmlStep()).addStep(new DiscoverBpmPlatformPluginsStep()).addStep(new StartJcaExecutorServiceStep(executorServiceBean)).addStep(new StartJobExecutorStep()).addStep(new PlatformXmlStartProcessEnginesStep()).execute(); processEngineService = containerDelegate.ProcessEngineService; processApplicationService = containerDelegate.ProcessApplicationService; LOGGER.log(Level.INFO, "camunda BPM platform started successfully."); }
public virtual ProcessEngine processEngine(InjectionPoint ip) { ProcessEngineName annotation = ip.Annotated.getAnnotation(typeof(ProcessEngineName)); string processEngineName = annotation.value(); if (string.ReferenceEquals(processEngineName, null) || processEngineName.Length == 0) { throw new ProcessEngineException("Cannot determine which process engine to inject: @ProcessEngineName must specify the name of a process engine."); } try { ProcessEngineService processEngineService = BpmPlatform.ProcessEngineService; return(processEngineService.getProcessEngine(processEngineName)); } catch (Exception e) { throw new ProcessEngineException("Cannot find process engine named '" + processEngineName + "' specified using @ProcessEngineName: " + e.Message, e); } }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @PostConstruct protected void initProcessEngineServiceDelegate() protected internal virtual void initProcessEngineServiceDelegate() { processEngineServiceDelegate = ejbBpmPlatform.ProcessEngineService; }