Class DefaultElContextFactory

java.lang.Object
org.springframework.binding.expression.el.DefaultElContextFactory
All Implemented Interfaces:
ELContextFactory

public class DefaultElContextFactory extends Object implements ELContextFactory
A factory for a DefaultELContext.
Author:
Keith Donald
  • Constructor Details

    • DefaultElContextFactory

      public DefaultElContextFactory()
  • Method Details

    • getELContext

      public jakarta.el.ELContext getELContext(Object target)
      Description copied from interface: ELContextFactory
      Configures and returns an ELContext 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's ELResolver chain.
      Specified by:
      getELContext in interface ELContextFactory
      Parameters:
      target - The base object for the expression evaluation
      Returns:
      ELContext The configured ELContext instance for evaluating expressions.