摘要:
定时器首先要继承ServletContextListener,然后实现里面的方法 contextDestroyed()和contextInitialized()方法,具体实现如下:但是现在service现在是注入不进去的;我们使用 ApplicationContextUtil实现注入: @Contr 阅读全文
posted @ 2019-02-12 14:27
小三的小四
阅读(1076)
评论(0)
推荐(0)
2019年2月12日