org.ikasan.framework.initiator.scheduled.quartz
Class IkasanJobFactory

java.lang.Object
  extended by org.ikasan.framework.initiator.scheduled.quartz.IkasanJobFactory
All Implemented Interfaces:
org.quartz.spi.JobFactory

public class IkasanJobFactory
extends Object
implements org.quartz.spi.JobFactory

Ikasan specific implementation of the Quartz JobFactory. This is required to allow us to pass a handle to the Initiator instance on every new job instance created by a callback from the scheduler.

Author:
Ikasan Development Team

Constructor Summary
IkasanJobFactory(QuartzDrivenInitiator initiator)
          Constructor
 
Method Summary
 org.quartz.Job newJob(org.quartz.spi.TriggerFiredBundle bundle)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IkasanJobFactory

public IkasanJobFactory(QuartzDrivenInitiator initiator)
Constructor

Parameters:
initiator - The initiator for this job factory
Method Detail

newJob

public org.quartz.Job newJob(org.quartz.spi.TriggerFiredBundle bundle)
                      throws org.quartz.SchedulerException
Specified by:
newJob in interface org.quartz.spi.JobFactory
Throws:
org.quartz.SchedulerException


Copyright © 2007-2012 Ikasan. All Rights Reserved.