}
public void executeJobs(List<String> jobIds, ProcessEngineImpl processEngine) {
final RuntimeContainerDelegate runtimeContainerDelegate = getRuntimeContainerDelegate();
final ExecutorService executorService = runtimeContainerDelegate.getExecutorService();
Runnable executeJobsRunnable = executorService.getExecuteJobsRunnable(jobIds, processEngine);
// delegate job execution to runtime container
if(!executorService.schedule(executeJobsRunnable, false)) {
// TODO: if the execution is rejected by the runtime container, execute the rejected jobs handler
// run in caller thread
executeJobsRunnable.run();