摘要: spring task的配置方式有两种:配置文件配置和注解配置。 1.配置文件配置 在applicationContext.xml中增加spring task的命名空间: 在applicationContext.xml中配置spring task: 编写定时任务方法: 2.注解配置 在applica 阅读全文
posted @ 2017-03-21 11:06 大象踢足球 阅读(9546) 评论(0) 推荐(2) 编辑