Class SchedulerJobFactory

java.lang.Object
org.springframework.scheduling.quartz.AdaptableJobFactory
org.springframework.scheduling.quartz.SpringBeanJobFactory
se.bth.pulse.utility.SchedulerJobFactory
All Implemented Interfaces:
org.quartz.spi.JobFactory, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware, org.springframework.scheduling.quartz.SchedulerContextAware

public class SchedulerJobFactory extends org.springframework.scheduling.quartz.SpringBeanJobFactory implements org.springframework.context.ApplicationContextAware
Configuration for the scheduler.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected Object
    createJobInstance(org.quartz.spi.TriggerFiredBundle bundle)
     
    void
    setApplicationContext(org.springframework.context.ApplicationContext context)
     

    Methods inherited from class org.springframework.scheduling.quartz.SpringBeanJobFactory

    isEligibleForPropertyPopulation, setIgnoredUnknownProperties, setSchedulerContext

    Methods inherited from class org.springframework.scheduling.quartz.AdaptableJobFactory

    adaptJob, newJob

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SchedulerJobFactory

      public SchedulerJobFactory()
  • Method Details

    • setApplicationContext

      public void setApplicationContext(org.springframework.context.ApplicationContext context)
      Specified by:
      setApplicationContext in interface org.springframework.context.ApplicationContextAware
      Overrides:
      setApplicationContext in class org.springframework.scheduling.quartz.SpringBeanJobFactory
    • createJobInstance

      protected Object createJobInstance(org.quartz.spi.TriggerFiredBundle bundle) throws Exception
      Overrides:
      createJobInstance in class org.springframework.scheduling.quartz.SpringBeanJobFactory
      Throws:
      Exception