import org.quartz.spi.TriggerFiredBundle;
public class ImportJobFactory implements JobFactory {
private Provisioner m_provisioner;
public Job newJob(TriggerFiredBundle bundle) throws SchedulerException {
JobDetail jobDetail = bundle.getJobDetail();
<BUG>Class<ImportJob> jobClass = (Class<ImportJob>)jobDetail.getJobClass();
ImportJob job = null;</BUG>
try {
job = jobClass.newInstance();
job.setProvisioner(getProvisioner());

import org.quartz.spi.TriggerFiredBundle;
public class ImportJobFactory implements JobFactory {
private Provisioner m_provisioner;
public Job newJob(TriggerFiredBundle bundle) throws SchedulerException {
JobDetail jobDetail = bundle.getJobDetail();
Class<ImportJob> jobClass = getJobClass(jobDetail);
ImportJob job = null;
try {
job = jobClass.newInstance();
job.setProvisioner(getProvisioner());
