Spring Boot:自动配置原理(二)

自动配置原理 SpringBoot启动的时候加载主配置类,开启了自动配置功能;html @SpringBootApplication @EnableAutoConfiguration 配置文件属性参照java @EnableAutoConfiguration 做用 利用EnableAutoConfigurationImportSelector给容器中导入一些组件;web selectImp
相关文章
相关标签/搜索