public class SchedulerFactoryBean extends SchedulerFactoryBean implements ApplicationListener<ContextRefreshedEvent>, ApplicationContextAware
DEFAULT_THREAD_COUNT, PROP_THREAD_COUNTlogger, resourceLoader| Constructor and Description |
|---|
SchedulerFactoryBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
onApplicationEvent(ContextRefreshedEvent event) |
protected void |
registerTrigger(String beanName,
org.quartz.Trigger trigger)
Registers a
JobDetailAwareTrigger. |
protected void |
restartIfNeeded()
Similar to the
SchedulerFactoryBean.isRunning() method, but properly handles the
situation where the Scheduler has been completely shutdown and
therefore must be replaced. |
void |
setApplicationContext(ApplicationContext ctx) |
afterPropertiesSet, createScheduler, destroy, getConfigTimeDataSource, getConfigTimeNonTransactionalDataSource, getConfigTimeResourceLoader, getConfigTimeTaskExecutor, getObject, getObjectType, getPhase, getScheduler, isAutoStartup, isRunning, isSingleton, setApplicationContextSchedulerContextKey, setAutoStartup, setBeanName, setConfigLocation, setDataSource, setExposeSchedulerInRepository, setJobFactory, setNonTransactionalDataSource, setPhase, setQuartzProperties, setSchedulerContextAsMap, setSchedulerFactoryClass, setSchedulerName, setStartupDelay, setTaskExecutor, setWaitForJobsToCompleteOnShutdown, start, startScheduler, stop, stopregisterJobsAndTriggers, registerListeners, setCalendars, setGlobalJobListeners, setGlobalTriggerListeners, setJobDetails, setJobListeners, setJobSchedulingDataLocation, setJobSchedulingDataLocations, setOverwriteExistingJobs, setResourceLoader, setSchedulerListeners, setTransactionManager, setTriggerListeners, setTriggerspublic void setApplicationContext(ApplicationContext ctx)
setApplicationContext in interface ApplicationContextAwaresetApplicationContext in class SchedulerFactoryBeanpublic void onApplicationEvent(ContextRefreshedEvent event)
onApplicationEvent in interface ApplicationListener<ContextRefreshedEvent>protected void registerTrigger(String beanName, org.quartz.Trigger trigger)
JobDetailAwareTrigger. A method like this should
really have protected visibility in the superclass.protected void restartIfNeeded()
SchedulerFactoryBean.isRunning() method, but properly handles the
situation where the Scheduler has been completely shutdown and
therefore must be replaced.
Version: 5.2.8-ice35-b57
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.