摘要: 先看一个Spring中Bean的实例化过程: 1.配置文件中指定Bean的init-method参数 <bean class="com.jts.service.UserService" init-method="init"></bean> 缺点:注解方式实例化Bean时无法使用 2.Bean实现In 阅读全文
posted @ 2017-10-18 19:46 散步的大象 阅读(2851) 评论(0) 推荐(0)