SpringBoot_09_使用jar包中配置的Bean(starter配置)

一、前言

二、配置方式

在 META-INF/spring.factories 中声明主配置类,并开启bean的扫描

三、参考资料

1.Understanding auto-configured beans -官方文档

猜你喜欢

转载自www.cnblogs.com/shirui/p/9782755.html
今日推荐