Spring Integration

org.springframework.integration.util
Class DefaultMethodInvoker

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

public class DefaultMethodInvoker
extends Object
implements MethodInvoker

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

Author:
Mark Fisher

Constructor Summary
DefaultMethodInvoker(Object object, Method method)
           
 
Method Summary
protected  TypeConverter getTypeConverter()
           
 Object invokeMethod(Object... args)
           
 void setTypeConverter(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(Object object,
                            Method method)
Method Detail

setTypeConverter

public void setTypeConverter(TypeConverter typeConverter)

getTypeConverter

protected TypeConverter getTypeConverter()

invokeMethod

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

Spring Integration

Copyright © 2010. All Rights Reserved.