public class AutowiringSpringBeanJobFactory
extends org.springframework.scheduling.quartz.SpringBeanJobFactory
implements org.springframework.context.ApplicationContextAware
Constructor and Description |
---|
AutowiringSpringBeanJobFactory() |
Modifier and Type | Method and Description |
---|---|
protected Object |
createJobInstance(org.quartz.spi.TriggerFiredBundle bundle) |
protected org.springframework.beans.factory.config.AutowireCapableBeanFactory |
getBeanFactory()
Subclass should override this method to set beanFactory to somewhere globally.
|
void |
setApplicationContext(org.springframework.context.ApplicationContext appContext) |
protected void |
setBeanFacotry(org.springframework.beans.factory.config.AutowireCapableBeanFactory beanFactory)
Subclass should override this method to set beanFactory to somewhere globally.
|
isEligibleForPropertyPopulation, setIgnoredUnknownProperties, setSchedulerContext
public void setApplicationContext(org.springframework.context.ApplicationContext appContext) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
protected Object createJobInstance(org.quartz.spi.TriggerFiredBundle bundle) throws Exception
createJobInstance
in class org.springframework.scheduling.quartz.SpringBeanJobFactory
Exception
protected void setBeanFacotry(org.springframework.beans.factory.config.AutowireCapableBeanFactory beanFactory)
beanFactory
- protected org.springframework.beans.factory.config.AutowireCapableBeanFactory getBeanFactory()
Copyright © 2014. All Rights Reserved.