spring2
2021-01-26 13:14
标签:instant register XmlReader factor ebe ble resource ant object XmlBeanFactory.XmlBeanFactory(Resource resource,BeanFactory parentBeanFactory) XmlBeanDefinitionReader.loadBeadDefinitions(Resource resource) XmlBeanDefinitionReader.loadBeadDefinitions(EncodedResource encodedResource ) XmlBeanDefinitionReader.doLoadBeadDefinitions(InputSource inputSource,Resource resource) XmlBeanDefinitionReader.registerBeanDefinitions(Document doc,Resource resource) DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(Document doc,XmlReaderContext readerContext) DefaultBeanDefinitionDocumentReader.doRegisterBeanDefinitions(Element root) DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(Element root, BeanDefinitionParserDelegate delegate) DefaultBeanDefinitionDocumentReader.parseDefaultElement(Element ele, BeanDefinitionParserDelegate delegate) DefaultBeanDefinitionDocumentReader.processBeanDefinition(Element ele, BeanDefinitionParserDelegate delegate) BeanDefinitionParserDelegate.parseBeanDefinitionElement(Element ele) BeanDefinitionParserDelegate.parseBeanDefinitionElement(Element ele,@Nullable BeanDefinition ...) BeanDefinitionParserDelegate.parseBeanDefinitionElement(Element ele,String beanName,@Nullable BeanDefinition containingBean) AbstractBeanFactory.getBean(String name) AbstractBeanFactory.doGetBean(String name,Class DefaultSingletonBeanRegirstry.getSingleton(String beanName) DefaultSingletonBeanRegirstry.getSingleton(String beanName,ObjectBeanFactory> singletonFactory) AbstractAutowireCapableBeanFactory.createBean(String beanName,RootBeanDefinition mbd,Object args) AbstractAutowireCapableBeanFactory.doCreateBean(String beanName,RootBeanDefinition mbd,Object args) AbstractAutowireCapableBeanFactory.createBeanInstance(String beanName,RootBeanDefinition mbd,Object args) instantiateBean(String beanName,RootBeanDefinition mbd) spring2 标签:instant register XmlReader factor ebe ble resource ant object 原文地址:https://www.cnblogs.com/BonnieWss/p/12853289.htmlspring源码解析
bean的解析及注册
创建bean对象(getBean流程)
1.创建bean对象
2.填充bean的属性
3.初始化bean(init方法)
上一篇:Python range 数据类型 [学习 Python 必备基础知识][看此一篇就够了][range()][range 元素元素检测、元素索引查找、切片、负索引][检测 range 对象是否相等]
下一篇:开启 Spring 之旅:第一个 Spring 程序 ![Spring][Eclipse 使用 Spring][Eclipse 配置 Spring 约束文件][Eclipse 配置 xml 模版]