SpringBoot的自動裝配的原理解析(九)

1.SpringApplication.run(AppConfig.class,args);執行流程中有refreshContext(context);這句話.   2.refreshContext(context);內部會解析我們的配置類上的標籤.實現自動裝配功能的註解@EnableAutoConfiguration   3.會解析@EnableAutoConfiguration這個註解裏面的@
相關文章
相關標籤/搜索