spring
2021-02-23 18:18:27 0 举报
spring ioc 流程图
作者其他创作
大纲/内容
AbstractBeanDefinitionReader
parseDefaultElement
doLoadBeanDefinitions()
loadBeanDefinitions
doLoadBeanDefinitions
registerBeanDefinitions
BeanDefinitionParserDelegate
parseBeanDefinitions
loadBeanDefinitions(beanFactory)
BeanDefinitionReaderUtils
解析
refresh()
注册
加载
AbstractRefreshableConfigApplicationContext
setConfigLocations(locations)
DefaultListableBeanFactory
registerBeanDefinition
I: BeanDefinitionReader
DefaultBeanDefinitionDocumentReader
refreshBeanFactory()
定位
调用ClassPathXmlApplicationContext的构造方法
doRegisterBeanDefinitions(root)
parseBeanDefinitionElement
AbstractApplicationContext
obtainFreshBeanFactory()
AbstractXmlApplicationContext
AbstractRefreshableApplicationContext
XmlBeanDefinitionReader
processBeanDefinition
ClassPathXmlApplicationContext
0 条评论
下一页