仅作备忘 SchedulerFactoryBean: 1、public void afterPRopertiesSet() throws Exception 2、// Create SchedulerFactory instance. SchedulerFactory schedulerFactory = (SchedulerFactory) BeanUtils.instantiateClass(this.schedulerFactoryClass); (private Class</?> schedulerFactoryClass = StdSchedulerFactory.class;)
StdSchedulerFactory: 1、private Scheduler instantiate() throws SchedulerException 2、1248-QuartzSchedulerResources rsrcs = new QuartzSchedulerResources(); 3、1298-qs = new QuartzScheduler(rsrcs, idleWaitTime, dbFailureRetry);
实际还是利用的StdSchedulerFactory类做为工厂类。
新闻热点
疑难解答