Package org.quartz.impl

Source Code of org.quartz.impl.StdJobRunShellFactory

/*    */ 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
*/
TOP

Related Classes of org.quartz.impl.StdJobRunShellFactory

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.