Class PropertySourcesPlaceholdersResolver
java.lang.Object
org.springframework.boot.context.properties.bind.PropertySourcesPlaceholdersResolver
- All Implemented Interfaces:
PlaceholdersResolver
PlaceholdersResolver
to resolve placeholders from PropertySources
.- Since:
- 2.0.0
- Author:
- Phillip Webb, Madhura Bhave
-
Field Summary
Fields inherited from interface org.springframework.boot.context.properties.bind.PlaceholdersResolver
NONE
-
Constructor Summary
ConstructorDescriptionPropertySourcesPlaceholdersResolver
(Iterable<PropertySource<?>> sources) PropertySourcesPlaceholdersResolver
(Iterable<PropertySource<?>> sources, PropertyPlaceholderHelper helper) PropertySourcesPlaceholdersResolver
(Environment environment) -
Method Summary
Modifier and TypeMethodDescriptionprotected String
resolvePlaceholder
(String placeholder) resolvePlaceholders
(Object value) Called to resolve any placeholders in the given value.
-
Constructor Details
-
PropertySourcesPlaceholdersResolver
-
PropertySourcesPlaceholdersResolver
-
PropertySourcesPlaceholdersResolver
public PropertySourcesPlaceholdersResolver(Iterable<PropertySource<?>> sources, PropertyPlaceholderHelper helper)
-
-
Method Details
-
resolvePlaceholders
Description copied from interface:PlaceholdersResolver
Called to resolve any placeholders in the given value.- Specified by:
resolvePlaceholders
in interfacePlaceholdersResolver
- Parameters:
value
- the source value- Returns:
- a value with placeholders resolved
-
resolvePlaceholder
-