Spring中查看加载配置文件中 加载类的个数及详情

断点到: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

相关文章
相关标签/搜索