spring-ioc时序图(s)
2022-03-06 14:48:42 0 举报
spring-ioc初始化bean注册时序图 (模板)
作者其他创作
大纲/内容
Spring IOC初始化流程
doRegisterBeanDefinitions(root)
启动
setConfigLocations()
constractor()
parseBeanDefinitions
AbstractBeanDefinitionParser
loadBeanDefinitions(reader)
createBeanFactory()
loadBeanDefinitions(beanFactory)
prepareRerfresh()
parse
loadBeanDefinitions(locations)
BeanDefinitionParseDelegate
beanFactory
DefaultListableBeanFactory
AbstractRefresableConfigApplicationContext
registerBeanDefinition
parseCustomElement
加载
getBeanFactory()
DeafaultBeanDefinitionDocumentReader
parseDefaultElement
refreshBeanFactory()
refresh()
obtainBeanFactory()
processBeanDefinition
NamespaceHandlerSupport
loadBeanDefinitions(resources)
doLoadBeanDefinitions
定位
registerBeanDefinitions
ClassPathXmlApplicationContext
AbstarctXmlApplicationContext
getConfigLocations()
XmlBeanDefinitionReader
注册
AbstractBeanDefinitionReader
AbstractApplicationContext
BeanDefinitionReaderUtils
initBeanDefinitionReader()
收藏
0 条评论
下一页