List of usage examples for org.springframework.scheduling.quartz SchedulerFactoryBean getConfigTimeTaskExecutor
@Nullable public static Executor getConfigTimeTaskExecutor()
From source file:com.gybas.evaluation.quartz.setup.LocalTaskExecutorThreadExecutor.java
@Override public void initialize() { // Absolutely needs thread-bound TaskExecutor to initialize. this.taskExecutor = SchedulerFactoryBean.getConfigTimeTaskExecutor(); if (this.taskExecutor == null) { throw new IllegalStateException("No local TaskExecutor found for configuration - " + "'taskExecutor' property must be set on SchedulerFactoryBean"); }//from w w w . ja va2 s .co m }
From source file:org.springframework.scheduling.quartz.LocalTaskExecutorThreadPool.java
@Override public void initialize() throws SchedulerConfigException { // Absolutely needs thread-bound Executor to initialize. this.taskExecutor = SchedulerFactoryBean.getConfigTimeTaskExecutor(); if (this.taskExecutor == null) { throw new SchedulerConfigException("No local Executor found for configuration - " + "'taskExecutor' property must be set on SchedulerFactoryBean"); }//from ww w . j a va 2 s . co m }