Spring Integration

org.springframework.integration.util
Class NameResolvingMethodInvoker

java.lang.Object
  extended by org.springframework.integration.util.NameResolvingMethodInvoker
All Implemented Interfaces:
MethodInvoker

public class NameResolvingMethodInvoker
extends Object
implements MethodInvoker

Implementation of MethodInvoker to be used when only the method name is known.

Author:
Mark Fisher

Constructor Summary
NameResolvingMethodInvoker(Object object, String methodName)
           
 
Method Summary
 Object invokeMethod(Object... args)
           
 void setMethodValidator(MethodValidator methodValidator)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NameResolvingMethodInvoker

public NameResolvingMethodInvoker(Object object,
                                  String methodName)
Method Detail

setMethodValidator

public void setMethodValidator(MethodValidator methodValidator)

invokeMethod

public Object invokeMethod(Object... args)
                    throws Exception
Specified by:
invokeMethod in interface MethodInvoker
Throws:
Exception

Spring Integration

Copyright © 2010. All Rights Reserved.