java.lang.Object
jakarta.el.ELContext
jakarta.el.StandardELContext
org.hibernate.validator.internal.engine.messageinterpolation.el.BeanPropertiesElContext

public class BeanPropertiesElContext extends StandardELContext
Author:
Guillaume Smet
  • Constructor Details

    • BeanPropertiesElContext

      public BeanPropertiesElContext(ExpressionFactory expressionFactory)
  • Method Details

    • addELResolver

      public void addELResolver(ELResolver cELResolver)
      Description copied from class: StandardELContext
      Add a custom ELResolver to the context. The list of the custom ELResolvers will be accessed in the order they are added. A custom ELResolver added to the context cannot be removed.
      Overrides:
      addELResolver in class StandardELContext
      Parameters:
      cELResolver - The new ELResolver to be added to the context
    • getELResolver

      public ELResolver getELResolver()
      Description copied from class: StandardELContext
      Construct (if needed) and return a default ELResolver.

      Retrieves the ELResolver associated with this context. This is a CompositeELResover consists of an ordered list of ELResolvers.

      1. A BeanNameELResolver for beans defined locally
      2. Any custom ELResolvers
      3. An ELResolver supporting the collection operations
      4. A StaticFieldELResolver for resolving static fields
      5. A MapELResolver for resolving Map properties
      6. A ResourceBundleELResolver for resolving ResourceBundle properties
      7. A ListELResolver for resolving List properties
      8. An ArrayELResolver for resolving array properties
      9. A BeanELResolver for resolving bean properties
      Overrides:
      getELResolver in class StandardELContext
      Returns:
      The ELResolver for this context.