Spring定时器(使用注解)

http://my.oschina.net/chinamummy29/blog/470297
先需要在springMVC的配置文件中,配置定时器的扫描注解

定时器的实现代码

最后写个main方法测试下