摘要: 工程中引入jar:quartz-1.6.2.jar 更新commons-collections.jar至3.0以上版本.建立类-->继承QuartzJobBean,实现executeInternal()方法,如下:public class TimeAction extends QuartzJobBean{ protected void executeInternal(JobExecutionContext arg0) throws JobExecutionException { System.out.println("spring定时器运行了...")... 阅读全文
posted @ 2012-12-12 16:19 小病猫 阅读(307) 评论(0) 推荐(0) 编辑