@FunctionalInterface
public interface StringValueResolver
ConfigurableBeanFactory
.ConfigurableBeanFactory.resolveAliases(org.springframework.util.StringValueResolver)
,
BeanDefinitionVisitor.BeanDefinitionVisitor(StringValueResolver)
,
PropertyPlaceholderConfigurer
Modifier and Type | Method and Description |
---|---|
java.lang.String |
resolveStringValue(java.lang.String strVal)
Resolve the given String value, for example parsing placeholders.
|
@Nullable java.lang.String resolveStringValue(java.lang.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)java.lang.IllegalArgumentException
- in case of an unresolvable String value