|
@@ -8,7 +8,7 @@ import org.quartz.SchedulerException;
|
|
|
import org.springframework.web.context.WebApplicationContext;
|
|
|
import org.springframework.web.context.support.WebApplicationContextUtils;
|
|
|
|
|
|
-import com.xt.dsp.service.JobService;
|
|
|
+import com.xt.dsp.system.DspContext;
|
|
|
|
|
|
/**
|
|
|
* 系统初始化处理
|
|
@@ -37,8 +37,8 @@ public class InitServlet extends HttpServlet {
|
|
|
private void initSchedule() throws SchedulerException {
|
|
|
WebApplicationContext wac = WebApplicationContextUtils
|
|
|
.getRequiredWebApplicationContext(this.getServletContext());
|
|
|
- JobService jobService = wac.getBean(JobService.class);
|
|
|
+ DspContext dspContext = wac.getBean(DspContext.class);
|
|
|
// 启动
|
|
|
- jobService.start();
|
|
|
+ dspContext.init();
|
|
|
}
|
|
|
}
|