Helper class that allows for specifying a method to invoke in a declarative fashion, be it static or non-static.
Usage: Specify "targetClass"/"targetMethod" or "targetObject"/"targetMethod", optionally specify arguments, prepare the invoker. Afterwards, you may invoke the method any number of times, obtaining the invocation result.
Typically not used directly but via its subclasses {@link org.springframework.beans.factory.config.MethodInvokingFactoryBean} and{@link org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean}.
@author Colin Sampaleanu
@author Juergen Hoeller
@since 19.02.2004
@see #prepare
@see #invoke