spring-xml配置定位及相关类
2017-06-24 11:25:41 13 举报
spring-xml配置文件定位涉及到的类 后续会补充相关时序图
作者其他创作
大纲/内容
implements
extends
InitializingBean
DefaultListableBeanFactory
BeanDefinitionReader
ListableBeanFactory
MessageSource
DefaultResourceLoader
# getResource(String)
初始化BeanDefinitionReader时将BeanFactory自身传入
持有一个DefaultListableBeanFactory
FileSystemXmlApplicationContext
AbstractXmlApplicationContext
#loadBeanDefinitions(DefaultListableBeanFactory) 初始化XmlBeanDefinitionReaderloadBeanDefinitions(XmlBeanDefinitionReader)
AbstractRefreshableConfigApplicationContext
ConfigurableApplicationContext
HierarchicalBeanFactory
ResourceLoader
AbstractBeanDefinitionReader
BeanFactory
BeanNameAware
XmlBeanDefinitionReader
AbstractRefreshableApplicationContext
# refreshBeanFactory()# createBeanFactory() DefaultListableBeanFactory#loadBeanDefinitions(DefaultListableBeanFactory)
AbstractApplicationContext
# refresh()# obtainFreshBeanFactory()#refreshBeanFactory()
ApplicationContext
ApplicationEventPublisher
0 条评论
下一页