Class MethodArgsHolder

java.lang.Object
org.springframework.integration.gateway.MethodArgsHolder

public final class MethodArgsHolder
extends java.lang.Object
Simple wrapper class containing a Method and an object array containing the arguments for an invocation of that method. For example used by a MethodArgsMessageMapper with this generic type to provide custom argument mapping when creating a message in a GatewayProxyFactoryBean.
Since:
3.0
  • Constructor Summary

    Constructors 
    Constructor Description
    MethodArgsHolder​(java.lang.reflect.Method method, java.lang.Object[] args)  
  • Method Summary

    Modifier and Type Method Description
    java.lang.Object[] getArgs()  
    java.lang.reflect.Method getMethod()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MethodArgsHolder

      public MethodArgsHolder​(java.lang.reflect.Method method, java.lang.Object[] args)
  • Method Details

    • getMethod

      public java.lang.reflect.Method getMethod()
    • getArgs

      public java.lang.Object[] getArgs()