public JobDetail selectJobDetail(Connection conn, String jobName,
String groupName, ClassLoadHelper loadHelper)
throws ClassNotFoundException, IOException, SQLException {
JobDetail job = delegate.selectJobDetail(conn, jobName, groupName, loadHelper);
if (job != null) {
JobDataMap map = job.getJobDataMap();
if (map != null) {
this.logger.debug("QuartzDriverDelegate: Adding transient data");
map.put(QuartzJobScheduler.DATA_MAP_LOGGER, this.logger);
map.put(QuartzJobScheduler.DATA_MAP_CONTEXT, this.context);
map.put(QuartzJobScheduler.DATA_MAP_MANAGER, this.manager);
}
}
return job;
}