@FunctionalInterface public interface StringValueResolver
org.springframework.beans.factory.config.ConfigurableBeanFactory.org.springframework.beans.factory.config.ConfigurableBeanFactory#resolveAliases,
org.springframework.beans.factory.config.BeanDefinitionVisitor#BeanDefinitionVisitor(StringValueResolver),
org.springframework.beans.factory.config.PropertyPlaceholderConfigurer| 限定符和类型 | 方法和说明 |
|---|---|
String |
resolveStringValue(String strVal)
Resolve the given String value, for example parsing placeholders.
|
@Nullable String resolveStringValue(String strVal)
strVal - the original String value (never null)null when resolved to a null
value), possibly the original String value itself (in case of no placeholders
to resolve or when ignoring unresolvable placeholders)IllegalArgumentException - in case of an unresolvable String value