会员
周边
新闻
博问
AI培训
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
小小程序猿-DB
仓库:
https://gitee.com/dangb/
文档:
https://xiaoliangzong.github.io/document/#/
博客园
首页
新随笔
联系
管理
2021年2月22日
【springboot读取配置文件】@ConfigurationProperties、@PropertySource和@Value
摘要: 概念: @ConfigurationProperties : 是springboot的注解,用于把主配置文件中配置属性设置到对于的Bean属性上 @PropertySource :是spring的注解,用于加载指定的属性配置文件到Spring的Environment中,可以和 @Value、@Con
阅读全文
posted @ 2021-02-22 22:32 小小程序猿-DB
阅读(496)
评论(2)
推荐(1)
编辑
公告