基于SpringBoot 2.3.9.RELEASE 版本
- 先扫描得到配置类
- org.springframework.boot.autoconfigure.AutoConfigurationImportSelector#selectImports 得到自动配置类
AutoConfigurationImportSelector实现了DeferredImportSelector接口,DeferredImportSelector就保证一定在配置类全部解析完成后才调用selectImports方法
基于SpringBoot 2.3.9.RELEASE 版本