摘要:
Spring容器初始化完毕后,调用BeanPostProcessor这个类,这个类实现ApplicationListener接口,重写onApplicationEvent方法, 方法中就是我们自己要在容器初始化完毕后载入的数据或者缓存。 以下是XML配置: 以下是自己写的BeanPostProces 阅读全文
posted @ 2017-04-18 21:24
liguangsunls
阅读(1400)
评论(0)
推荐(0)
2017年4月18日