public interface MethodExecutor
They can become stale, and in that case should throw an AccessException: This will cause the infrastructure to go back to the resolvers to ask for a new one.
|Modifier and Type||Method and Description|
Execute a command using the specified arguments, and using the specified expression state.
TypedValue execute(EvaluationContext context, Object target, Object... arguments) throws AccessException
context- the evaluation context in which the command is being executed
target- the target object of the call - null for static methods
arguments- the arguments to the executor, should match (in terms of number and type) whatever the command will need to run
AccessException- if there is a problem executing the command or the MethodExecutor is no longer valid