@FunctionalInterface public interface StringValueResolver
ConfigurableBeanFactory
.ConfigurableBeanFactory.resolveAliases(org.springframework.util.StringValueResolver)
,
BeanDefinitionVisitor.BeanDefinitionVisitor(StringValueResolver)
,
PropertyPlaceholderConfigurer
Modifier and Type | Method and Description |
---|---|
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