public class PropertySourcesPlaceholdersResolver extends Object implements PlaceholdersResolver
PlaceholdersResolver
to resolve placeholders from PropertySources
.NONE
Constructor and Description |
---|
PropertySourcesPlaceholdersResolver(org.springframework.core.env.Environment environment) |
PropertySourcesPlaceholdersResolver(Iterable<org.springframework.core.env.PropertySource<?>> sources) |
PropertySourcesPlaceholdersResolver(Iterable<org.springframework.core.env.PropertySource<?>> sources,
org.springframework.util.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(org.springframework.core.env.Environment environment)
public PropertySourcesPlaceholdersResolver(Iterable<org.springframework.core.env.PropertySource<?>> sources)
public PropertySourcesPlaceholdersResolver(Iterable<org.springframework.core.env.PropertySource<?>> sources, org.springframework.util.PropertyPlaceholderHelper helper)
public Object resolvePlaceholders(Object value)
PlaceholdersResolver
resolvePlaceholders
in interface PlaceholdersResolver
value
- the source valueCopyright © 2020 Pivotal Software, Inc.. All rights reserved.