Ejemplo n.º 1
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: public void destroy() throws Exception
        public virtual void destroy()
        {
            if (processEngine != null)
            {
                processEngine.close();
            }
        }
Ejemplo n.º 2
0
        public static void Main(string[] args)
        {
            ProcessEngineImpl processEngine   = (ProcessEngineImpl)ProcessEngines.DefaultProcessEngine;
            CommandExecutor   commandExecutor = processEngine.ProcessEngineConfiguration.CommandExecutorTxRequired;

            commandExecutor.execute(new CommandAnonymousInnerClass());
            processEngine.close();
        }
Ejemplo n.º 3
0
        // make sure schema is dropped
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @After public void cleanup()
        public virtual void cleanup()
        {
            TestHelper.dropSchema(processEngineImpl.ProcessEngineConfiguration);
            processEngineImpl.close();
            processEngineImpl = null;
        }