Esempio n. 1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="job"></param>
        /// <returns></returns>
        protected internal virtual ThreadStart CreateRunnableForJob(IJob job)
        {
            if (executeAsyncRunnableFactory == null)
            {
                var runable = new ExecuteAsyncRunnable(job, processEngineConfiguration);

                return(runable.Runable);
            }
            else
            {
                return(executeAsyncRunnableFactory.CreateExecuteAsyncRunnable(job, processEngineConfiguration));
            }
        }
 public CommandAnonymousInnerClass4(ExecuteAsyncRunnable outerInstance, Exception exception)
 {
     this.outerInstance = outerInstance;
     this.exception     = exception;
 }
 public CommandAnonymousInnerClass3(ExecuteAsyncRunnable outerInstance)
 {
     this.outerInstance = outerInstance;
 }