Class BeanMethodsELContext
- java.lang.Object
-
- jakarta.el.ELContext
-
- jakarta.el.StandardELContext
-
- org.hibernate.validator.internal.engine.messageinterpolation.el.BeanMethodsELContext
-
public class BeanMethodsELContext extends StandardELContext
- Author:
- Hardy Ferentschik, Guillaume Smet
-
-
Constructor Summary
Constructors Constructor Description BeanMethodsELContext(ExpressionFactory expressionFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddELResolver(ELResolver cELResolver)Add a custom ELResolver to the context.ELResolvergetELResolver()Construct (if needed) and return a default ELResolver.-
Methods inherited from class jakarta.el.StandardELContext
getContext, getFunctionMapper, getVariableMapper, putContext
-
Methods inherited from class jakarta.el.ELContext
addEvaluationListener, convertToType, enterLambdaScope, exitLambdaScope, getEvaluationListeners, getImportHandler, getLambdaArgument, getLocale, isLambdaArgument, isPropertyResolved, notifyAfterEvaluation, notifyBeforeEvaluation, notifyPropertyResolved, setLocale, setPropertyResolved, setPropertyResolved
-
-
-
-
Constructor Detail
-
BeanMethodsELContext
public BeanMethodsELContext(ExpressionFactory expressionFactory)
-
-
Method Detail
-
addELResolver
public void addELResolver(ELResolver cELResolver)
Description copied from class:StandardELContextAdd 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:
addELResolverin classStandardELContext- Parameters:
cELResolver- The new ELResolver to be added to the context
-
getELResolver
public ELResolver getELResolver()
Description copied from class:StandardELContextConstruct (if needed) and return a default ELResolver.Retrieves the
ELResolverassociated with this context. This is aCompositeELResoverconsists of an ordered list ofELResolvers.- A
BeanNameELResolverfor beans defined locally - Any custom
ELResolvers - An
ELResolversupporting the collection operations - A
StaticFieldELResolverfor resolving static fields - A
MapELResolverfor resolving Map properties - A
ResourceBundleELResolverfor resolving ResourceBundle properties - A
ListELResolverfor resolving List properties - An
ArrayELResolverfor resolving array properties - A
BeanELResolverfor resolving bean properties
- Overrides:
getELResolverin classStandardELContext- Returns:
- The ELResolver for this context.
- A
-
-