Exemple #1
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException
        public virtual void start(StartContext context)
        {
            MscRuntimeContainerDelegate runtimeContainerDelegate = runtimeContainerDelegateInjector.Value;

            runtimeContainerDelegate.processEngineStarted(processEngine);

            createProcessEngineJndiBinding(context);
        }
Exemple #2
0
        protected internal virtual void createProcessEngineJndiBinding(StartContext context)
        {
//JAVA TO C# CONVERTER WARNING: The original Java variable was marked 'final':
//ORIGINAL LINE: final org.camunda.bpm.container.impl.jboss.util.ProcessEngineManagedReferenceFactory managedReferenceFactory = new org.camunda.bpm.container.impl.jboss.util.ProcessEngineManagedReferenceFactory(processEngine);
            ProcessEngineManagedReferenceFactory managedReferenceFactory = new ProcessEngineManagedReferenceFactory(processEngine);

//JAVA TO C# CONVERTER WARNING: The original Java variable was marked 'final':
//ORIGINAL LINE: final org.jboss.msc.service.ServiceName processEngineServiceBindingServiceName = org.jboss.as.naming.deployment.ContextNames.GLOBAL_CONTEXT_SERVICE_NAME.append(org.camunda.bpm.BpmPlatform.APP_JNDI_NAME).append(org.camunda.bpm.BpmPlatform.MODULE_JNDI_NAME).append(processEngine.getName());
            ServiceName processEngineServiceBindingServiceName = ContextNames.GLOBAL_CONTEXT_SERVICE_NAME.append(BpmPlatform.APP_JNDI_NAME).append(BpmPlatform.MODULE_JNDI_NAME).append(processEngine.Name);

//JAVA TO C# CONVERTER WARNING: The original Java variable was marked 'final':
//ORIGINAL LINE: final String jndiName = org.camunda.bpm.BpmPlatform.JNDI_NAME_PREFIX + "/" + org.camunda.bpm.BpmPlatform.APP_JNDI_NAME + "/" + org.camunda.bpm.BpmPlatform.MODULE_JNDI_NAME + "/" +processEngine.getName();
            string jndiName = BpmPlatform.JNDI_NAME_PREFIX + "/" + BpmPlatform.APP_JNDI_NAME + "/" + BpmPlatform.MODULE_JNDI_NAME + "/" + processEngine.Name;

            // bind process engine service
            bindingService = BindingUtil.createJndiBindings(context.ChildTarget, processEngineServiceBindingServiceName, jndiName, managedReferenceFactory);

            // log info message
            LOGG.info("jndi binding for process engine " + processEngine.Name + " is " + jndiName);
        }
Exemple #3
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException
        public virtual void start(StartContext context)
        {
        }
Exemple #4
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException
        public virtual void start(StartContext context)
        {
            // call the process application's
        }
Exemple #5
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: public void start(org.jboss.msc.service.StartContext arg0) throws org.jboss.msc.service.StartException
        public virtual void start(StartContext arg0)
        {
            // no-op:
            // job executor is lazy-started when first process engine is registered and jobExecutorActivate = true
            // See: #CAM-4817
        }
Exemple #6
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException
        public override void start(StartContext context)
        {
            // nothing to do
        }
Exemple #7
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException
        public virtual void start(StartContext context)
        {
            childTarget = context.ChildTarget;
        }