Class AutowiringSpringBeanJobFactory
- java.lang.Object
-
- org.springframework.scheduling.quartz.AdaptableJobFactory
-
- org.springframework.scheduling.quartz.SpringBeanJobFactory
-
- com.netgrif.application.engine.configuration.quartz.AutowiringSpringBeanJobFactory
-
- All Implemented Interfaces:
org.quartz.spi.JobFactory
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
,org.springframework.scheduling.quartz.SchedulerContextAware
@Component public class AutowiringSpringBeanJobFactory extends org.springframework.scheduling.quartz.SpringBeanJobFactory implements org.springframework.context.ApplicationContextAware
-
-
Constructor Summary
Constructors Constructor Description AutowiringSpringBeanJobFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.Object
createJobInstance(org.quartz.spi.TriggerFiredBundle bundle)
void
setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
-
Methods inherited from class org.springframework.scheduling.quartz.SpringBeanJobFactory
isEligibleForPropertyPopulation, setIgnoredUnknownProperties, setSchedulerContext
-
-
-
-
Method Detail
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
- Specified by:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
- Overrides:
setApplicationContext
in classorg.springframework.scheduling.quartz.SpringBeanJobFactory
- Throws:
org.springframework.beans.BeansException
-
createJobInstance
protected java.lang.Object createJobInstance(org.quartz.spi.TriggerFiredBundle bundle) throws java.lang.Exception
- Overrides:
createJobInstance
in classorg.springframework.scheduling.quartz.SpringBeanJobFactory
- Throws:
java.lang.Exception
-
-