java.lang.Object | |
↳ | org.springframework.core.env.AbstractPropertyResolver |
![]() |
Abstract base class for resolving properties against any underlying source.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
conversionService | |||||||||||
logger |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Return the property value associated with the given key, converted to the given
targetType (never
null ). | |||||||||||
Return the property value associated with the given key, converted to the given
targetType (never
null ). | |||||||||||
Resolve ${...} placeholders in the given text, replacing them with corresponding
property values as resolved by
getProperty(String) . | |||||||||||
Resolve ${...} placeholders in the given text, replacing them with corresponding
property values as resolved by
getProperty(String) . | |||||||||||
Set the
ConversionService to be used when performing type
conversions on properties. | |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
Return the property value associated with the given key, converted to the given
targetType (never null
).
IllegalStateException |
---|
Return the property value associated with the given key, converted to the given
targetType (never null
).
IllegalStateException |
---|
Resolve ${...} placeholders in the given text, replacing them with corresponding
property values as resolved by getProperty(String)
. Unresolvable placeholders with
no default value are ignored and passed through unchanged.
text | the String to resolve |
---|
null
)Resolve ${...} placeholders in the given text, replacing them with corresponding
property values as resolved by getProperty(String)
. Unresolvable placeholders with
no default value will cause an IllegalArgumentException to be thrown.
null
)IllegalArgumentException |
---|
Set the ConversionService
to be used when performing type
conversions on properties.