SpringBoot Bean
SpringBoot注入Bean的四种方式总结
目录统一测试类与config类1. 启动类注入Bean2.启动类扫描@ComponentScan3.启动类@EnableConfigurationProperties4.启动类@Import统一测试类与config类[详细]
2023-12-01 10:19 分类:开发SpringBoot优先加载指定Bean的实现
目录1. 背景2. Bean 对象的创建顺序分析3. 实现方式3.1 实现 ApplicationListener 监听初始化事件3.2 实现 ApplicationContextInitializer1. 背景[详细]
2023-05-07 10:26 分类:开发
加载中,请稍侯......