Class HippyMethodInvoker

java.lang.Object
org.springframework.util.MethodInvoker
org.springframework.batch.item.adapter.HippyMethodInvoker

public class HippyMethodInvoker extends org.springframework.util.MethodInvoker
A MethodInvoker that is a bit relaxed about its arguments. You can give it arguments in the wrong order or you can give it too many arguments and it will try and find a method that matches a subset.
Since:
2.1
Author:
Dave Syer
  • Field Summary

    Fields inherited from class org.springframework.util.MethodInvoker

    targetClass
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected Method
     

    Methods inherited from class org.springframework.util.MethodInvoker

    getArguments, getPreparedMethod, getTargetClass, getTargetMethod, getTargetObject, getTypeDifferenceWeight, invoke, isPrepared, prepare, resolveClassName, setArguments, setStaticMethod, setTargetClass, setTargetMethod, setTargetObject

    Methods inherited from class java.lang.Object

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

    • HippyMethodInvoker

      public HippyMethodInvoker()
  • Method Details

    • findMatchingMethod

      protected Method findMatchingMethod()
      Overrides:
      findMatchingMethod in class org.springframework.util.MethodInvoker