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 |
---|---|
java.lang.Object |
evaluate(java.lang.String value,
BeanExpressionContext evalContext)
Evaluate the given value as an expression, if applicable;
return the value as-is otherwise.
|
@Nullable java.lang.Object evaluate(@Nullable java.lang.String value, BeanExpressionContext evalContext) throws BeansException
value
- the value to checkevalContext
- the evaluation contextBeansException
- if evaluation failed