public class SimpleMethodInvoker extends Object implements MethodInvoker
MethodInvoker
interface that invokes a
method on an object. If the method has no arguments, but arguments are
provided, they are ignored and the method is invoked anyway. If there are
more arguments than there are provided, then an exception is thrown.Constructor and Description |
---|
SimpleMethodInvoker(Object object,
Method method) |
SimpleMethodInvoker(Object object,
String methodName,
Class<?>... paramTypes) |
public Object invokeMethod(Object... args)
invokeMethod
in interface MethodInvoker
Copyright © 2018 SpringSource. All rights reserved.