mirror of
https://gitee.com/nutz/nutzboot.git
synced 2024-12-02 03:38:08 +08:00
Update QuartzStarter.java
This commit is contained in:
parent
fd2837e78b
commit
2733fc3a22
@ -62,7 +62,7 @@ org.quartz.scheduler.skipUpdateCheck=true
|
||||
properties.putIfAbsent("org.quartz.scheduler.skipUpdateCheck", "true");
|
||||
try {
|
||||
StdSchedulerFactory factory = new StdSchedulerFactory(properties);
|
||||
Scheduler scheduler = factory.getScheduler();
|
||||
scheduler = factory.getScheduler();
|
||||
scheduler.setJobFactory(new NutQuartzJobFactory(appContext.getIoc()));
|
||||
((Ioc2)appContext.getIoc()).getIocContext().save("app", "scheduler", new ObjectProxy(scheduler));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user