/* */ package org.quartz.impl;
/* */
/* */ import org.quartz.Scheduler;
/* */ import org.quartz.SchedulerException;
/* */ import org.quartz.core.JobRunShell;
/* */ import org.quartz.core.JobRunShellFactory;
/* */ import org.quartz.core.SchedulingContext;
/* */
/* */ public class StdJobRunShellFactory
/* */ implements JobRunShellFactory
/* */ {
/* */ private Scheduler scheduler;
/* */ private SchedulingContext schedCtxt;
/* */
/* */ public void initialize(Scheduler scheduler, SchedulingContext schedCtxt)
/* */ {
/* 74 */ this.scheduler = scheduler;
/* 75 */ this.schedCtxt = schedCtxt;
/* */ }
/* */
/* */ public JobRunShell borrowJobRunShell()
/* */ throws SchedulerException
/* */ {
/* 86 */ return new JobRunShell(this, this.scheduler, this.schedCtxt);
/* */ }
/* */
/* */ public void returnJobRunShell(JobRunShell jobRunShell)
/* */ {
/* 97 */ jobRunShell.passivate();
/* */ }
/* */ }
/* Location: /home/mnovotny/projects/EMBEDDED_JBOSS_BETA3_COMMUNITY/embedded/output/lib/embedded-jboss/lib/thirdparty-all.jar
* Qualified Name: org.quartz.impl.StdJobRunShellFactory
* JD-Core Version: 0.6.0
*/