会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
清凤
导航
博客园
首页
新随笔
联系
订阅
管理
公告
2021年5月21日
Spring @PropertySource && @Import && ConfigurationClassPostProcessor
摘要: 1. @PropertySource 加载指定的属性文件(*.properties)到 Spring 的 Environment 中。 2. @Import 的作用 在@Configuration标注的Class上可以使用@Import引入其它的配置类,import的配置类都会被加到Context中
阅读全文
posted @ 2021-05-21 08:26 清凤
阅读(43)
评论(0)
推荐(0)
编辑