IOC容器的简单介绍

(1)2种IOC容器 ①BeanFactoy: 由org.springframework.beans.factory.BeanFactory接口定义,是IOC容器的基本实现 ②ApplicationContext: 由org.springframework.context.ApplicationContext接口定义,提供了更多的高级特性. 是BeanFactory的子接口。 (2)BeanFac
相关文章
相关标签/搜索