Class GuiceJobFactory

java.lang.Object
org.shredzone.geordi.util.GuiceJobFactory
All Implemented Interfaces:
org.quartz.spi.JobFactory

@Singleton
public class GuiceJobFactory
extends Object
implements org.quartz.spi.JobFactory
A Quartz JobFactory that uses Guice for dependency injection.
  • Constructor Details

  • Method Details

    • newJob

      public org.quartz.Job newJob​(org.quartz.spi.TriggerFiredBundle triggerFiredBundle, org.quartz.Scheduler scheduler) throws org.quartz.SchedulerException
      Specified by:
      newJob in interface org.quartz.spi.JobFactory
      Throws:
      org.quartz.SchedulerException