斷點到:spring
org.springframework.beans.factory.support.DefaultListableBeanFactory#getBeanDefinitionCountspa
顯示該配置文件加載個很多天志:3d
DEBUG o.s.b.f.xml.XmlBeanDefinitionReader - Loaded 32 bean definitions from location pattern [classpath:ApplicationContext.xml]日誌
之因此會相差四個,是由於減去以前加載類:xml
org.springframework.beans.factory.xml.XmlBeanDefinitionReader#registerBeanDefinitions:509blog