类 MethodInvoker

  • 直接已知子类:
    ArgumentConvertingMethodInvoker

    public class MethodInvoker
    extends Object
    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.

    从以下版本开始:
    19.02.2004
    作者:
    Colin Sampaleanu, Juergen Hoeller
    另请参阅:
    prepare(), invoke()