public class MethodCache
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static MethodCache |
getInstance()
Gets the only instance of this class
|
java.lang.reflect.Method |
getMethod(java.lang.Class clazz,
java.lang.String methodName,
java.lang.Class[] parameterTypes)
Returns the specified method - if any.
|
public static MethodCache getInstance()
public java.lang.reflect.Method getMethod(java.lang.Class clazz, java.lang.String methodName, java.lang.Class[] parameterTypes) throws java.lang.NoSuchMethodException
clazz
- the class to get the method frommethodName
- the name of the methodparameterTypes
- the parameters of the methodjava.lang.NoSuchMethodException
- if the method can't be foundCopyright © 2005 Apache Web Services Project. All Rights Reserved.