Spring IOC容器初始化过程时序图
2020-04-21 11:43:58 8 举报
Spring IOC容器初始化过程时序图
作者其他创作
大纲/内容
BeanDefinitionReaderUtils
loadBeanDefinitions
obtainFreshBeanFactory
registerBeanDefinition
initServletBea
getResource
实例话
SimpleInstantiationStrategy
DefaultBeanDefinitionDocumentReader
registerBeanDefinitions
parseDefaultElement
如果已存在beanFactory容器就先销毁、关闭容器然后创建DefaultListableBeanFactory容器
XmlBeanDefinitionReader
AbstractAutowireCapableBeanFactory
依赖注入
initWebApplicationContext
createBeanFactory
parseBeanDefinitionElement
setValue()
createBeanInstance()
populateBean()
doRegisterBeanDefinitions
AbstractXmlApplicationContext
BeanWrapperImpl
doGetBean()
AbstractBeanFactory
AbstractApplicationContext
applyPropertyValues
BeanDefinitionParserDelegate
HttpServletBean
refresh
doLoadBeanDefinitions
instance()
setConfigLocations
refreshBeanFactory
init()
ApplicationContext
processLocalProperty
Bean配置的解析和设置
configureAndRefreshWebApplicationContext
setPropertyValues()
getBean()
AbstractNestablePropertyAccessor
DefaultResourceLoader
parseBeanDefinitions
createBean()
AbstractRefreshableApplicationContext
AbstractRefreshableConfigApplicationContext
ClassPathXmlApplicationContext
AbstractBeanDefinitionReader
FrameworkServlet
收藏
0 条评论
下一页