spring Boot 自動配置原理

     關於spring Boot自動配置原理,首先需要回歸到@SpringBootApplication註解,這個註解是一個組合註解 它包括@SpringBootConfiguration、@EnableAutoConfiguration、@ComponentScan 註解 1.核心註解@EnableAutoConfiguration中會Import  AutoConfigurationImp
相關文章
相關標籤/搜索