2012年11月6日
摘要: @PropertySource注解可以配置读取单个或多个配置文件: 单个配置文件: 多个配置文件: @PropertySource注解使用有两种方式: 1、@PropertySource + Environment,通过@PropertySource注解将properties配置文件中的值存储到Sp 阅读全文
posted @ 2012-11-06 09:33 duanxz 阅读(7484) 评论(1) 推荐(2)