Class DefaultElContextFactory
java.lang.Object
org.springframework.binding.expression.el.DefaultElContextFactory
- All Implemented Interfaces:
ELContextFactory
A factory for a DefaultELContext.
- Author:
- Keith Donald
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjakarta.el.ELContext
getELContext
(Object target) Configures and returns anELContext
to be used in evaluating EL expressions on the given base target object.
-
Constructor Details
-
DefaultElContextFactory
public DefaultElContextFactory()
-
-
Method Details
-
getELContext
Description copied from interface:ELContextFactory
Configures and returns anELContext
to be used in evaluating EL expressions on the given base target object. In certain environments the target will be null and the base object of the expression is expected to be resolved via the ELContext'sELResolver
chain.- Specified by:
getELContext
in interfaceELContextFactory
- Parameters:
target
- The base object for the expression evaluation- Returns:
- ELContext The configured ELContext instance for evaluating expressions.
-