摘要: 一、简单介绍 1、init-method方法,初始化bean的时候执行,可以针对某个具体的bean进行配置。init-method需要在applicationContext.xml配置文档中bean的定义里头写明。例如:<bean id="TestBean" class="nju.software. 阅读全文
posted @ 2017-06-06 16:39 扯 阅读(342) 评论(0) 推荐(0) 编辑