public class SiteSearchJobProxy extends DotStatefulJob {
public void run(JobExecutionContext jobContext) throws JobExecutionException {
SiteSearchJobImpl jobImpl = new SiteSearchJobImpl();
SiteSearchPublishStatus status = null;
TaskRuntimeValues trv = QuartzUtils.getTaskRuntimeValues(jobContext.getJobDetail().getName(), jobContext.getJobDetail().getGroup());
if(trv ==null || !(trv instanceof SiteSearchPublishStatus)){
status = new SiteSearchPublishStatus();
QuartzUtils.setTaskRuntimeValues(jobContext.getJobDetail().getName(), jobContext.getJobDetail().getGroup(), status);
}
status = (SiteSearchPublishStatus) QuartzUtils.getTaskRuntimeValues(jobContext.getJobDetail().getName(), jobContext.getJobDetail().getGroup());