刷新容器方法refreshBeanFactory由子类实现
createBeanFactory
getInternalParentBeanFactory 返回的是null,因为在ClassPathXmlApplicationContext创建时选择的构造方法中parent为null
new DefaultListableBeanFactory 一直super到AbstractAutowireCapableBeanFactory
this()点进去
customizeBeanFactory
loadBeanDefinitions
EntityResolver: 从本地读取dtd、schema约束
Spring 源码第三弹!EntityResolver 是个什么鬼?-CSDN博客
这个getconfiglocations的值就是
然后一直重载,直到doLoadBeanDefinitions
parseDefaultElement解析默认命名空间的标签,parseCustomElement解析自定义标签
this.beanDefinitionMap