org.apache.axis.utils.cache
Class MethodCache
java.lang.Object
org.apache.axis.utils.cache.MethodCache
public class MethodCache
extends java.lang.Object
A cache for methods.
Used to get methods by their signature and stores them in a local
cache for performance reasons.
This class is a singleton - so use getInstance to get an instance of it.
- Davanum Srinivas
- Sebastian Dietrich
static MethodCache | getInstance() - Gets the only instance of this class
|
Method | getMethod(Class clazz, String methodName, Class[] parameterTypes) - Returns the specified method - if any.
|
getInstance
public static MethodCache getInstance()
Gets the only instance of this class
- the only instance of this class
getMethod
public Method getMethod(Class clazz,
String methodName,
Class[] parameterTypes)
throws NoSuchMethodException
Returns the specified method - if any.
clazz
- the class to get the method frommethodName
- the name of the methodparameterTypes
- the parameters of the method
Copyright © 2005 Apache Web Services Project. All Rights Reserved.