- All Implemented Interfaces:
- org.quartz.spi.JobFactory, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware, org.springframework.scheduling.quartz.SchedulerContextAware
public final class AutowiringQuartzSpringBeanJobFactory
extends org.springframework.scheduling.quartz.SpringBeanJobFactory
implements org.springframework.context.ApplicationContextAware
This SpringBeanJobFactory is used to automatically autowire Quartz objects using Spring. Please note that the SpringBeanJobFactory allows you to inject
properties from the scheduler context, job data map and trigger data entries into the Quartz job bean. But there is no way out of the box to inject beans
from the application context. Thus, we need the factory bean below that extends the SpringBeanJobFactory to add auto-wiring support.