文件名称:quartz-spring
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2016-06-27
- 文件大小:
- 84kb
- 下载次数:
- 0次
- 提 供 者:
- 刘**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
在实际项目应用中经常会用到定时任务,可以通过quartz和spring的简单配置即可完成,但如果要改变任务的执行时间、频率,废弃任务等就需要改变配置甚至代码需要重启服务器,这里介绍一下如何通过quartz与spring的组合实现动态的改变定时任务的状态的一个实现。
本项目的spring版本为3.2,quartz版本为2.2.3 ,提供数据库文件以及完整的jar包,jar包地址为:http://pan.baidu.com/s/1c1F8Nfi-In the actual project application often used scheduled tasks, can be accomplished by a simple configuration quartz and spring, but if you want to change the task execution time, frequency, abandoned tasks you need to change the configuration of the code even need to restart the server, introduced here how to dynamically change the timing of the status of tasks by combining quartz spring with an implementation.
spring version of the project is 3.2, quartz version 2.2.3, files, and provides a complete package of jar, jar package address is: http: //pan.baidu.com/s/1c1F8Nfi
本项目的spring版本为3.2,quartz版本为2.2.3 ,提供数据库文件以及完整的jar包,jar包地址为:http://pan.baidu.com/s/1c1F8Nfi-In the actual project application often used scheduled tasks, can be accomplished by a simple configuration quartz and spring, but if you want to change the task execution time, frequency, abandoned tasks you need to change the configuration of the code even need to restart the server, introduced here how to dynamically change the timing of the status of tasks by combining quartz spring with an implementation.
spring version of the project is 3.2, quartz version 2.2.3, files, and provides a complete package of jar, jar package address is: http: //pan.baidu.com/s/1c1F8Nfi
(系统自动生成,下载前可以参看下载内容)
下载文件列表
quartz-spring
.............\.classpath
.............\.project
.............\.settings
.............\.........\.jsdtscope
.............\.........\org.eclipse.core.resources.prefs
.............\.........\org.eclipse.jdt.core.prefs
.............\.........\org.eclipse.wst.jsdt.ui.superType.container
.............\.........\org.eclipse.wst.jsdt.ui.superType.name
.............\build
.............\.....\classes
.............\.....\.......\com
.............\.....\.......\...\snailxr
.............\.....\.......\...\.......\base
.............\.....\.......\...\.......\....\support
.............\.....\.......\...\.......\....\.......\RetObj.class
.............\.....\.......\...\.......\....\.......\spring
.............\.....\.......\...\.......\....\.......\......\SpringUtils.class
.............\.....\.......\...\.......\....\task
.............\.....\.......\...\.......\....\....\controller
.............\.....\.......\...\.......\....\....\..........\JobTaskController.class
.............\.....\.......\...\.......\....\....\dao
.............\.....\.......\...\.......\....\....\...\mapper
.............\.....\.......\...\.......\....\....\...\......\ScheduleJobMapper.xml
.............\.....\.......\...\.......\....\....\...\ScheduleJobMapper.class
.............\.....\.......\...\.......\....\....\domain
.............\.....\.......\...\.......\....\....\......\ScheduleJob.class
.............\.....\.......\...\.......\....\....\QuartzJobFactory.class
.............\.....\.......\...\.......\....\....\QuartzJobFactoryDisallowConcurrentExecution.class
.............\.....\.......\...\.......\....\....\service
.............\.....\.......\...\.......\....\....\.......\JobTaskService.class
.............\.....\.......\...\.......\....\....\TaskTest.class
.............\.....\.......\...\.......\....\....\TaskUtils.class
.............\.....\.......\config.properties
.............\.....\.......\log4j.properties
.............\.....\.......\MyBatisConfiguration.xml
.............\.....\.......\quartz-demo.sql
.............\.....\.......\spring-mvc.xml
.............\.....\.......\spring.xml
.............\resources
.............\.........\config.properties
.............\.........\log4j.properties
.............\.........\MyBatisConfiguration.xml
.............\.........\quartz-demo.sql
.............\.........\spring-mvc.xml
.............\.........\spring.xml
.............\src
.............\...\com
.............\...\...\snailxr
.............\...\...\.......\base
.............\...\...\.......\....\support
.............\...\...\.......\....\.......\RetObj.java
.............\...\...\.......\....\.......\spring
.............\...\...\.......\....\.......\......\SpringUtils.java
.............\...\...\.......\....\task
.............\...\...\.......\....\....\controller
.............\...\...\.......\....\....\..........\JobTaskController.java
.............\...\...\.......\....\....\dao
.............\...\...\.......\....\....\...\mapper
.............\...\...\.......\....\....\...\......\ScheduleJobMapper.xml
.............\...\...\.......\....\....\...\ScheduleJobMapper.java
.............\...\...\.......\....\....\domain
.............\...\...\.......\....\....\......\ScheduleJob.java
.............\...\...\.......\....\....\QuartzJobFactory.java
.............\...\...\.......\....\....\QuartzJobFactoryDisallowConcurrentExecution.java
.............\...\...\.......\....\....\service
.............\...\...\.......\....\....\.......\JobTaskService.java
.............\...\...\.......\....\....\TaskTest.java
.............\...\...\.......\....\....\TaskUtils.java
.............\WebContent
.............\..........\META-INF
.............\..........\........\MANIFEST.MF
.............\..........\scripts
.............\..........\.......\jquery-1.9.1.min.js
.............\..........\WEB-INF
.............\..........\.......\base
.............\..........\.......\....\jspf
.............\..........\.......\....\....\prelude.jspf
.............\..........\.......\....\task
.............\..........\.......\....\....\taskList.jsp
.............\..........\.......\web.xml