Package org.springframework.expression
@NullMarked
package org.springframework.expression
Core abstractions behind the Spring Expression Language.
-
ClassDescriptionAn AccessException is thrown by an accessor if it has an unexpected problem.A bean resolver can be registered with the evaluation context and will kick in for bean references:
@myBeanName
and&myBeanName
expressions.AConstructorExecutor
is built by aConstructorResolver
and can be cached by the infrastructure to repeat an operation quickly without going back to the resolvers.A constructor resolver attempts to locate a constructor and returns aConstructorExecutor
that can be used to invoke that constructor.Expressions are executed in an evaluation context.Represent an exception that occurs during expression evaluation.An expression capable of evaluating itself against context objects.Superclass for exceptions that can occur whilst processing expressions.This exception wraps (as cause) a checked exception thrown by some method that SpEL invokes.Parses expression strings into compiled expressions that can be evaluated.An index accessor is able to read from and possibly write to an indexed structure of a target object.AMethodExecutor
is built by aMethodResolver
and can be cached by the infrastructure to repeat an operation quickly without going back to the resolvers.MethodFilter instances allow SpEL users to fine tune the behaviour of the method resolution process.A method resolver attempts to locate a method and returns aMethodExecutor
that can be used to invoke that method.Supported operations that anOperatorOverloader
can implement for any pair of operands.By default, the mathematical operators defined inOperation
support simple types like numbers.Represent an exception that occurs during expression parsing.Input provided to an expression parser that can influence an expression parsing/compilation routine.A property accessor is able to read from (and possibly write to) an object's properties.Strategy for types that access elements of specific target classes.Instances of a type comparator should be able to compare pairs of objects for equality.A type converter can convert values between different types encountered during expression evaluation.Encapsulates an object and aTypeDescriptor
that describes it.Implementers of this interface are expected to be able to locate types.