Package se.bth.pulse.utility
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 -
Method Summary
Modifier and TypeMethodDescriptionprotected 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
-
Constructor Details
-
SchedulerJobFactory
public SchedulerJobFactory()
-
-
Method Details
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext context) - Specified by:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
- Overrides:
setApplicationContext
in classorg.springframework.scheduling.quartz.SpringBeanJobFactory
-
createJobInstance
- Overrides:
createJobInstance
in classorg.springframework.scheduling.quartz.SpringBeanJobFactory
- Throws:
Exception
-