org.springframework.batch.item.adapter
Class HippyMethodInvoker

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

public class HippyMethodInvoker
extends 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

Constructor Summary
HippyMethodInvoker()
           
 
Method Summary
protected  Method findMatchingMethod()
           
 
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 Detail

HippyMethodInvoker

public HippyMethodInvoker()
Method Detail

findMatchingMethod

protected Method findMatchingMethod()
Overrides:
findMatchingMethod in class MethodInvoker


Copyright © 2013 SpringSource. All Rights Reserved.