public virtual void jobsRejected(IList <string> jobIds, ProcessEngineImpl processEngine, JobExecutor jobExecutor) { AcquireJobsRunnable acquireJobsRunnable = jobExecutor.AcquireJobsRunnable; if (acquireJobsRunnable is SequentialJobAcquisitionRunnable) { JobAcquisitionContext context = ((SequentialJobAcquisitionRunnable)acquireJobsRunnable).AcquisitionContext; context.submitRejectedBatch(processEngine.Name, jobIds); } else { jobExecutor.getExecuteJobsRunnable(jobIds, processEngine).run(); } }
protected internal virtual void ensureCleanup() { acquireJobsCmdFactory = null; acquireJobsRunnable = null; }
protected internal virtual void ensureInitialization() { acquireJobsCmdFactory = new DefaultAcquireJobsCommandFactory(this); acquireJobsRunnable = new SequentialJobAcquisitionRunnable(this); }