Quartz 和 Spring 集成使用

Spring 提供 JobDetailFactoryBean  

Spring 提供 TriggerFactoryBean

Spring 提供 SchedulerFactoryBean  

1、 建立 war 包 maven 项目 quartz_spring ,导入 maven 依赖  

2、 配置 web.xml spring 的监听器  

3、 编写 Job 程序  

4、 配置 spring 的 applicationContext.xml

猜你喜欢

转载自blog.csdn.net/qq_40208605/article/details/94738372