摘要: 1.@ProtertySource @PropertySouce是spring3.1开始引入的基于java config的注解。 通过@PropertySource注解将properties配置文件中的值存储到Spring的 Environment中,Environment接口提供方法去读取配置文件 阅读全文
posted @ 2017-11-23 16:52 hxwang 阅读(32003) 评论(0) 推荐(6) 编辑