Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.sakaiproject.component.app.scheduler.jobs;
 
 import  org.quartz.Job;
 import  org.quartz.JobExecutionContext;
 import  org.quartz.JobExecutionException;
 import  org.quartz.StatefulJob;
 import  org.sakaiproject.component.cover.ComponentManager;
 
 public class SpringStatefulJobBeanWrapper extends SpringJobBeanWrapper implements StatefulJob {
		super();
	}
	public void execute(JobExecutionContext jobExecutionContextthrows 
	JobExecutionException {
		String beanId = 
			jobExecutionContext.getJobDetail().getJobDataMap().getString();
		Job job = (Job) ComponentManager.get(beanId);
		job.execute(jobExecutionContext);
	}
New to GrepCode? Check out our FAQ X