类 MethodBasedEvaluationContext
java.lang.Object
cn.taketoday.expression.spel.support.StandardEvaluationContext
cn.taketoday.context.expression.MethodBasedEvaluationContext
- 所有已实现的接口:
cn.taketoday.expression.EvaluationContext
public class MethodBasedEvaluationContext
extends cn.taketoday.expression.spel.support.StandardEvaluationContext
A method-based
EvaluationContext that
provides explicit support for method-based invocations.
Expose the actual method arguments using the following aliases:
- pX where X is the index of the argument (p0 for the first argument)
- aX where X is the index of the argument (a1 for the second argument)
- the name of the parameter as discovered by a configurable
ParameterNameDiscoverer
- 从以下版本开始:
- 4.0 2021/12/25 17:39
- 作者:
- Stephane Nicoll, Juergen Hoeller, Harry Yang
-
构造器概要
构造器构造器说明MethodBasedEvaluationContext(Object rootObject, Method method, Object[] arguments, cn.taketoday.core.ParameterNameDiscoverer parameterNameDiscoverer) -
方法概要
修饰符和类型方法说明protected voidLoad the param information only when needed.lookupVariable(String name) 从类继承的方法 cn.taketoday.expression.spel.support.StandardEvaluationContext
addConstructorResolver, addMethodResolver, addPropertyAccessor, getBeanResolver, getConstructorResolvers, getMethodResolvers, getOperatorOverloader, getPropertyAccessors, getRootObject, getTypeComparator, getTypeConverter, getTypeLocator, registerFunction, registerMethodFilter, removeConstructorResolver, removeMethodResolver, removePropertyAccessor, setBeanResolver, setConstructorResolvers, setMethodResolvers, setOperatorOverloader, setPropertyAccessors, setRootObject, setRootObject, setTypeComparator, setTypeConverter, setTypeLocator, setVariable, setVariables
-
构造器详细资料
-
MethodBasedEvaluationContext
-
-
方法详细资料
-
lookupVariable
- 指定者:
lookupVariable在接口中cn.taketoday.expression.EvaluationContext- 覆盖:
lookupVariable在类中cn.taketoday.expression.spel.support.StandardEvaluationContext
-
lazyLoadArguments
protected void lazyLoadArguments()Load the param information only when needed.
-