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

相關文章
相關標籤/搜索