public class ReflectiveMethodExecutor extends Object implements MethodExecutor
| Constructor and Description |
|---|
ReflectiveMethodExecutor(Method method) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
didArgumentConversionOccur() |
TypedValue |
execute(EvaluationContext context,
Object target,
Object... arguments)
Execute a command using the specified arguments, and using the specified expression state.
|
Method |
getMethod() |
Class<?> |
getPublicDeclaringClass()
Find the first public class in the methods declaring class hierarchy that declares this method.
|
public ReflectiveMethodExecutor(Method method)
public Method getMethod()
public Class<?> getPublicDeclaringClass()
public boolean didArgumentConversionOccur()
public TypedValue execute(EvaluationContext context, Object target, Object... arguments) throws AccessException
MethodExecutorexecute in interface MethodExecutorcontext - the evaluation context in which the command is being executedtarget - the target object of the call - null for static methodsarguments - the arguments to the executor, should match (in terms of number
and type) whatever the command will need to runAccessException - if there is a problem executing the command or the
MethodExecutor is no longer valid