摘要: spring有两个核心接口,BeanFactory 和ApplicationContext ,其中ApplicationContext 是BeanFactory的子接口。他们代表了Spring容器。 BeanFactory采用工厂设计模式,负责创建和分发Bean。 要实例化BeanFactory需要 阅读全文
posted @ 2017-10-21 16:09 千彧 阅读(508) 评论(0) 推荐(0) 编辑