spring的主要模块及其提供的功能

1:spring-core

1.1:资源的定义和加载

其中资源的定义的接口为org.springframework.core.io.Resource。资源加载的接口org.springframework.core.io.ResourceLoader。详细可以参考这里

1.2:工具类

org.springframework.util.StringUtils

2:spring-beans

2.1:文档加载器

加载资源为文档对象,为解析得到BeanDefinition做准备,接口为org.springframework.beans.factory.xml.DocumentLoader,详细可以参考这里

2.2:xml的bean定义读取器

负责从xml文件读取信息生成BeanDefinition数据结构,顶层接口为org.springframework.beans.factory.support.BeanDefinitionReader,其中负责xml读取的实现类是org.springframework.beans.factory.xml.XmlBeanDefinitionReader。详细可以参考这里

猜你喜欢

转载自blog.csdn.net/wang0907/article/details/113913698