This class is designed as a general replacement for {@code PropertyPlaceholderConfigurer} in Spring 3.1 applications. It is used by default tosupport the {@code property-placeholder} element in working against thespring-context-3.1 XSD, whereas spring-context versions <= 3.0 default to {@code PropertyPlaceholderConfigurer} to ensure backward compatibility. Seespring-context XSD documentation for complete details.
Any local properties (e.g. those added via {@link #setProperties}, {@link #setLocations} et al.) are added as a {@code PropertySource}. Search precedence of local properties is based on the value of the {@link #setLocalOverride localOverride}property, which is by default {@code false} meaning that local properties are to besearched last, after all environment property sources.
See {@link org.springframework.core.env.ConfigurableEnvironment ConfigurableEnvironment}and related Javadoc for details on manipulating environment property sources. @author Chris Beams @since 3.1 @see org.springframework.core.env.ConfigurableEnvironment @see org.springframework.beans.factory.config.PlaceholderConfigurerSupport @see org.springframework.beans.factory.config.PropertyPlaceholderConfigurer
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|