Spring IOC容器之XmlBeanFactory启动时序图
2021-03-29 12:06:15 14 举报
SpringIOC容器BeanFactory时序图
作者其他创作
大纲/内容
this.beanDefinitionMap.putspan style=\"font-size: inherit;\
handler.parse():BeanDefinition
bdHolder
XmlBeanFactory
parseCustomElement
XmlBeanDefinitionReader
inputstream
document
loadBeanDefinitions(resource)
beandefinition
processAliasRegistration(ele)
BeanDefinitionRegistry
parseBeanDefinitionElement(ele)
[delegate.isDefaultNamespace(ele)]-----------------------------------------------[else]
opt
handler:BeanDefinitionParser
resource
importBeanDefinitionResource(ele)
root
parseDefaultElement
beandefinitionMap
DefaultBeanDefinitionDocumentReader
createDelegate()
BeanDefinitionParserDelegate
xml
[import]-----------------------------------------------[alias]-----------------------------------------------[bean]-----------------------------------------------[beans]
loadBeanDefinitions(encodedResource)
element
doRegisterBeanDefinitions(ele)
doRegisterBeanDefinitions(root)
0 条评论
下一页