Package cronapp.framework.scheduler
Class SchedulerJobFactory
java.lang.Object
org.springframework.scheduling.quartz.AdaptableJobFactory
org.springframework.scheduling.quartz.SpringBeanJobFactory
cronapp.framework.scheduler.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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectcreateJobInstance(org.quartz.spi.TriggerFiredBundle bundle) voidsetApplicationContext(org.springframework.context.ApplicationContext context) Methods inherited from class org.springframework.scheduling.quartz.SpringBeanJobFactory
isEligibleForPropertyPopulation, setIgnoredUnknownProperties, setSchedulerContextMethods inherited from class org.springframework.scheduling.quartz.AdaptableJobFactory
adaptJob, newJob
-
Constructor Details
-
SchedulerJobFactory
public SchedulerJobFactory()
-
-
Method Details
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext context) - Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Overrides:
setApplicationContextin classorg.springframework.scheduling.quartz.SpringBeanJobFactory
-
createJobInstance
- Overrides:
createJobInstancein classorg.springframework.scheduling.quartz.SpringBeanJobFactory- Throws:
Exception
-