final JobDetail detail = createJobDetail(name, jobDataMap);
TriggerFiredBundle trigger = new TriggerFiredBundle(detail, null, null, false, null, null, null, null);
final Job executor = createJobExecutor();
final JobExecutionContext context = new JobExecutionContext(this.scheduler, trigger, executor);
this.executor.execute(new Runnable() {
public void run() {
// ((CronJob)job).execute(name);
try {
executor.execute(context);
} catch (JobExecutionException e) {
getLogger().error("Job '" + job + "' died.", e);
}
}
});