Class ExtendedPropertyPlaceholderConfigurer

All Implemented Interfaces:
Aware, BeanFactoryAware, BeanNameAware, BeanFactoryPostProcessor, Ordered, PriorityOrdered

public class ExtendedPropertyPlaceholderConfigurer extends PropertyPlaceholderConfigurer
An extension of PropertyPlaceholderConfigurer. Provides runtime additions of properties and wildcard location lookups. Properties can be added at runtime by using the static addGlobalProperty(java.lang.String, java.lang.String) before* the bean definition is instantiated in the ApplicationContext. A property added by addGlobalProperty(java.lang.String, java.lang.String) will get merged into properties specified by the bean definition, overriding keys that overlap. wildcard locations can be used instead of locations, if both are declared the last will override. Wildcard locations are handled by setWildcardLocations(String[]), using PathMatchingResourcePatternResolver for matching locations. For wildcard locations that matches multiple Properties files, they are merged in by alphabetical filename order.
Author:
Michael Guymon (michael.guymon@gmail.com)