org.apache.axis.utils.cache
Class JavaClass

java.lang.Object
  |
  +--org.apache.axis.utils.cache.JavaClass

public class JavaClass
extends java.lang.Object

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

Author:
Sam Ruby

Constructor Summary
JavaClass(java.lang.Class jc)
          Create a cache entry for this java.lang.Class
 
Method Summary
static JavaClass find(java.lang.Class jc)
          Find (or create if necessary) a JavaClass associated with a given class
 java.lang.Class getJavaClass()
          Return the java.lang.Class associated with this entry
 java.lang.reflect.Method getMethod(java.lang.String name, int numargs)
          Lookup a method based on name and number of arguments
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaClass

public JavaClass(java.lang.Class jc)
Create a cache entry for this java.lang.Class
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,
                                          int numargs)
Lookup a method based on name and number of arguments
Parameters:
name - name of method
numargs - number of arguments


Copyright © 2001 Apache XML Project. All Rights Reserved.