propertyPlaceholderConfigurer 和propertyOverrideConfigurer

propertyPlaceholderConfigurer (Sring的内建propertyEditor,它是beanFactoryPostProcessor的实现类)

属性占位符配置器

作用:读取properties配置文件

优点;不需打开spring配置文件

propertyOverrideConfigurer

会覆盖xml文件当中的 配置信息

beanName.property=value;

原文地址:https://www.cnblogs.com/wanghongjie/p/4882252.html