public class MethodBasedEvaluationContext
extends org.springframework.expression.spel.support.StandardEvaluationContext
EvaluationContext that
provides explicit support for method-based invocations.
Expose the actual method arguments using the following aliases:
ParameterNameDiscoverer| Constructor and Description |
|---|
MethodBasedEvaluationContext(Object rootObject,
Method method,
Object[] args,
org.springframework.core.ParameterNameDiscoverer paramDiscoverer) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
lazyLoadArguments()
Load the param information only when needed.
|
Object |
lookupVariable(String name) |
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, setVariablespublic Object lookupVariable(String name)
lookupVariable in interface org.springframework.expression.EvaluationContextlookupVariable in class org.springframework.expression.spel.support.StandardEvaluationContextprotected void lazyLoadArguments()