Example usage for Java org.springframework.util MethodInvoker fields, constructors, methods, implement or subclass
The text is from its open source code.
Method | getPreparedMethod() Return the prepared Method object that will be invoked. |
Class> | getTargetClass() Return the target class on which to call the target method. |
String | getTargetMethod() Return the name of the method to be invoked. |
Object | getTargetObject() Return the target object on which to call the target method. |
Object | invoke() Invoke the specified method. |
void | prepare() Prepare the specified method. |
void | setArguments(Object... arguments) Set arguments for the method invocation. |
void | setStaticMethod(String staticMethod) Set a fully qualified static method name to invoke, e.g. |
void | setTargetClass(@Nullable Class> targetClass) Set the target class on which to call the target method. |
void | setTargetMethod(@Nullable String targetMethod) Set the name of the method to be invoked. |
void | setTargetObject(@Nullable Object targetObject) Set the target object on which to call the target method. |