org.springframework.expression.EvaluationContext that
provides explicit support for method-based invocations.
Expose the actual method arguments using the following aliases:
ParameterNameDiscoverer| Modifier and Type | Field and Description |
|---|---|
| private final Object[] | |
| private boolean | |
| private final Method | |
| private final ParameterNameDiscoverer |
| Access | Constructor and Description |
|---|---|
| public | MethodBasedEvaluationContext(Object rootObject, Method method, Object[] arguments, ParameterNameDiscoverer parameterNameDiscoverer)
|
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| public Object | lookupVariable(String
the name of the variable or function to look up name)Overrides org. Implements org. Look up a named variable or function within this evaluation context. |
| arguments | back to summary |
|---|---|
| private final Object[] arguments | |
| argumentsLoaded | back to summary |
|---|---|
| private boolean argumentsLoaded | |
| method | back to summary |
|---|---|
| private final Method method | |
| parameterNameDiscoverer | back to summary |
|---|---|
| private final ParameterNameDiscoverer parameterNameDiscoverer | |
| MethodBasedEvaluationContext | back to summary |
|---|---|
| public MethodBasedEvaluationContext(Object rootObject, Method method, Object[] arguments, ParameterNameDiscoverer parameterNameDiscoverer) | |
| lazyLoadArguments | back to summary |
|---|---|
| protected void lazyLoadArguments() Load the param information only when needed. | |
| lookupVariable | back to summary |
|---|---|
| public Object lookupVariable(String name) Overrides org. Implements org. Doc from org. Look up a named variable or function within this evaluation context. Note that variables and functions share a common namespace in this evaluation context. See the class-level documentation for details. | |