mrcode.duckprxy.impl
Class MethodUtils

java.lang.Object
  extended by mrcode.duckprxy.impl.MethodUtils

public class MethodUtils
extends java.lang.Object


Nested Class Summary
static interface MethodUtils.MethodRetrieveStrategy
           
 
Constructor Summary
MethodUtils()
           
 
Method Summary
static void defaultMethod()
           
static MethodUtils.MethodRetrieveStrategy defaultMethodStrategy()
           
static MethodUtils.MethodRetrieveStrategy defaultMethodStrategy(java.lang.reflect.Method defaultMethod)
           
static MethodUtils.MethodRetrieveStrategy methodByNameAndArgsStrategy(java.lang.Class<?> clazz)
           
static MethodUtils.MethodRetrieveStrategy methodByNameWithoutArgsStrategy(java.lang.Class<?> clazz)
           
static MethodUtils.MethodRetrieveStrategy methodByPatternStrategy(java.lang.Class<?> clazz, java.util.Map<java.util.regex.Pattern,java.lang.reflect.Method> methodMap)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodUtils

public MethodUtils()
Method Detail

methodByNameAndArgsStrategy

public static MethodUtils.MethodRetrieveStrategy methodByNameAndArgsStrategy(java.lang.Class<?> clazz)

methodByNameWithoutArgsStrategy

public static MethodUtils.MethodRetrieveStrategy methodByNameWithoutArgsStrategy(java.lang.Class<?> clazz)

methodByPatternStrategy

public static MethodUtils.MethodRetrieveStrategy methodByPatternStrategy(java.lang.Class<?> clazz,
                                                                         java.util.Map<java.util.regex.Pattern,java.lang.reflect.Method> methodMap)

defaultMethodStrategy

public static MethodUtils.MethodRetrieveStrategy defaultMethodStrategy()

defaultMethodStrategy

public static MethodUtils.MethodRetrieveStrategy defaultMethodStrategy(java.lang.reflect.Method defaultMethod)

defaultMethod

public static void defaultMethod()
                          throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2008. All Rights Reserved.