开心每一天

随笔分类 -  spring

spring framework
摘要:1 2 3 4 以上三行代码用于声明spring定时任务的执行和轮询,之后在需要定时任务的实体上标注@Component:如: 1 @Component 2 public class Onlines { 3 4 @Resource 5 private... 阅读全文
posted @ 2014-12-03 11:02 雄鹰在天 阅读(112) 评论(0) 推荐(0)