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