org.springframework.integration.util
Class DefaultMethodInvoker

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

public class DefaultMethodInvoker
extends java.lang.Object
implements MethodInvoker

Implementation of MethodInvoker to be used when the actual Method reference is known.

Author:
Mark Fisher

Constructor Summary
DefaultMethodInvoker(java.lang.Object object, java.lang.reflect.Method method)
           
 
Method Summary
protected  org.springframework.beans.TypeConverter getTypeConverter()
           
 java.lang.Object invokeMethod(java.lang.Object... args)
           
 void setTypeConverter(org.springframework.beans.TypeConverter typeConverter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultMethodInvoker

public DefaultMethodInvoker(java.lang.Object object,
                            java.lang.reflect.Method method)
Method Detail

setTypeConverter

public void setTypeConverter(org.springframework.beans.TypeConverter typeConverter)

getTypeConverter

protected org.springframework.beans.TypeConverter getTypeConverter()

invokeMethod

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