use of org.quartz.simpl.SimpleJobFactory in project cloudbreak by hortonworks.
the class AppConfig method schedulerFactoryBean.
@Bean
public SchedulerFactoryBean schedulerFactoryBean() {
SchedulerFactoryBean scheduler = new SchedulerFactoryBean();
scheduler.setTaskExecutor(getAsyncExecutor());
scheduler.setAutoStartup(true);
scheduler.setJobFactory(new SimpleJobFactory());
return scheduler;
}
Aggregations