public interface BeanExpressionResolver
A raw BeanFactory
does not
contain a default implementation of this strategy. However,
ApplicationContext
implementations
will provide expression support out of the box.
Modifier and Type | Method and Description |
---|---|
Object |
evaluate(String value,
BeanExpressionContext evalContext)
Evaluate the given value as an expression, if applicable;
return the value as-is otherwise.
|
@Nullable Object evaluate(@Nullable String value, BeanExpressionContext evalContext) throws BeansException
value
- the value to checkevalContext
- the evaluation contextBeansException
- if evaluation failed