spring-framework / org.springframework.beans.factory.config / BeanExpressionResolver

BeanExpressionResolver

interface BeanExpressionResolver

Strategy interface for resolving a value through evaluating it as an expression, if applicable.

A raw org.springframework.beans.factory.BeanFactory does not contain a default implementation of this strategy. However, org.springframework.context.ApplicationContext implementations will provide expression support out of the box.

Author
Juergen Hoeller

Since
3.0

Functions

evaluate

abstract fun evaluate(value: String, evalContext: BeanExpressionContext): Any

Evaluate the given value as an expression, if applicable; return the value as-is otherwise.

Inheritors

StandardBeanExpressionResolver

open class StandardBeanExpressionResolver : BeanExpressionResolver

Standard implementation of the org.springframework.beans.factory.config.BeanExpressionResolver interface, parsing and evaluating Spring EL using Spring's expression module.