代码改变世界

随笔档案-2016年08月

如何通过Spring读取Properties文件

2016-08-23 16:20 by 爱车龟速兔, 417 阅读, 收藏,
摘要: 1 在Spring中配置文件中, 配置配置文件的引用 2 实现一个ApplicationContextAware 的接口实现public class SpringContextHolder implements ApplicationContextAware { private static final Logger logger = Logger.getLogger(Sprin... 阅读全文