接上篇《深入理解Spring之四:BeanDefinition装载前》,进入AbstractXmlApplicationContext类的loadBeanDefinitions方法,代码如下所示。 protected void loadBeanDefinitions(DefaultListableBeanFactory beanFactory) throws BeansException, IOException { // Create a new XmlBeanDefinitionReader for the given BeanFactory. XmlBeanDefini...