org.apache.axis.utils.cache

Class JavaClass

public class JavaClass extends Object implements Serializable

A simple cache of previously loaded classes, and their methods.

Author: Sam Ruby

Constructor Summary
JavaClass(Class jc)
Create a cache entry for this java.lang.Class
Method Summary
static JavaClassfind(Class jc)
Find (or create if necessary) a JavaClass associated with a given class
ClassgetJavaClass()
Return the java.lang.Class associated with this entry
Method[]getMethod(String name)
Lookup a method based on name.

Constructor Detail

JavaClass

public JavaClass(Class jc)
Create a cache entry for this java.lang.Class

Method Detail

find

public static JavaClass find(Class jc)
Find (or create if necessary) a JavaClass associated with a given class

getJavaClass

public Class getJavaClass()
Return the java.lang.Class associated with this entry

getMethod

public Method[] getMethod(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

Copyright B) 2005 Apache Web Services Project. All Rights Reserved.