摘要: spring提供两种容器Bean工厂:最简单的容器,提供基本的DI支持。Bean声称有两种方式:1为@Component这种 2为xml定义 Bean装配两种方式:1为xml 装配(property,constructor-arg) 2为Autowired应用上下文:基于beanfactory之... 阅读全文
posted @ 2015-11-23 00:10 damiao_hungry 阅读(152) 评论(0) 推荐(0) 编辑