public class PropertySourcesPlaceholdersResolver extends java.lang.Object implements PlaceholdersResolver
PlaceholdersResolver
to resolve placeholders from PropertySources
.NONE
Constructor and Description |
---|
PropertySourcesPlaceholdersResolver(org.springframework.core.env.Environment environment) |
PropertySourcesPlaceholdersResolver(java.lang.Iterable<org.springframework.core.env.PropertySource<?>> sources) |
PropertySourcesPlaceholdersResolver(java.lang.Iterable<org.springframework.core.env.PropertySource<?>> sources,
org.springframework.util.PropertyPlaceholderHelper helper) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
resolvePlaceholder(java.lang.String placeholder) |
java.lang.Object |
resolvePlaceholders(java.lang.Object value)
Called to resolve any placeholders in the given value.
|
public PropertySourcesPlaceholdersResolver(org.springframework.core.env.Environment environment)
public PropertySourcesPlaceholdersResolver(java.lang.Iterable<org.springframework.core.env.PropertySource<?>> sources)
public PropertySourcesPlaceholdersResolver(java.lang.Iterable<org.springframework.core.env.PropertySource<?>> sources, org.springframework.util.PropertyPlaceholderHelper helper)
public java.lang.Object resolvePlaceholders(java.lang.Object value)
PlaceholdersResolver
resolvePlaceholders
in interface PlaceholdersResolver
value
- the source valueprotected java.lang.String resolvePlaceholder(java.lang.String placeholder)