org.apache.axis.utils.cache

Class JavaClass

Implemented Interfaces:
Serializable

public class JavaClass
extends java.lang.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 JavaClass
find(Class jc)
Find (or create if necessary) a JavaClass associated with a given class
Class
getJavaClass()
Return the java.lang.Class associated with this entry
Method[]
getMethod(String name)
Lookup a method based on name.

Constructor Details

JavaClass

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

Method Details

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.