Package org.apache.axis.utils.cache
Class JavaClass
- java.lang.Object
-
- org.apache.axis.utils.cache.JavaClass
-
- All Implemented Interfaces:
java.io.Serializable
public class JavaClass extends java.lang.Object implements java.io.Serializable
A simple cache of previously loaded classes, and their methods.- Author:
- Sam Ruby
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JavaClass(java.lang.Class jc)
Create a cache entry for this java.lang.Class
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JavaClass
find(java.lang.Class jc)
Find (or create if necessary) a JavaClass associated with a given classjava.lang.Class
getJavaClass()
Return the java.lang.Class associated with this entryjava.lang.reflect.Method[]
getMethod(java.lang.String name)
Lookup a method based on name.
-
-
-
Method Detail
-
find
public static JavaClass find(java.lang.Class jc)
Find (or create if necessary) a JavaClass associated with a given class
-
getJavaClass
public java.lang.Class getJavaClass()
Return the java.lang.Class associated with this entry
-
getMethod
public java.lang.reflect.Method[] getMethod(java.lang.String name)
Lookup a method based on name. This method returns an array just in case there is more than one.- Parameters:
name
- name of method
-
-