摘要: 1、Spring中lazy-init详解ApplicationContext实现的默认行为就是在启动服务器时将所有singleton bean提前进行实例化(也就是依赖注入)。提前实例化意味着作为初始化过程的一部分,applicationContext实例会创建并配置所有的singleton bea... 阅读全文
posted @ 2014-05-28 10:53 吴小雨 阅读(12688) 评论(0) 推荐(1) 编辑