Class AutowiringSpringBeanJobFactory

  • All Implemented Interfaces:
    org.quartz.spi.JobFactory, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware, org.springframework.scheduling.quartz.SchedulerContextAware

    public class AutowiringSpringBeanJobFactory
    extends org.springframework.scheduling.quartz.SpringBeanJobFactory
    implements org.springframework.context.ApplicationContextAware
    • Method Detail

      • setApplicationContext

        public void setApplicationContext​(org.springframework.context.ApplicationContext theApplicationContext)
        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