|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.axis.utils.cache.ClassCache
public class ClassCache
A cache class for JavaClass objects, which enables us to quickly reference methods.
| Constructor Summary | |
|---|---|
ClassCache()
|
|
| Method Summary | |
|---|---|
void |
deregisterClass(String name)
Remove an entry from the cache. |
boolean |
isClassRegistered(String name)
Query a given class' cache status. |
JavaClass |
lookup(String className,
ClassLoader cl)
Find the cached JavaClass entry for this class, creating one if necessary. |
void |
registerClass(String name,
Class cls)
Register a class in the cache. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClassCache()
| Method Detail |
|---|
public void registerClass(String name,
Class cls)
name - the name of the class.cls - a Java Class.public void deregisterClass(String name)
name - the name of the class to remove.public boolean isClassRegistered(String name)
name - a class name
public JavaClass lookup(String className,
ClassLoader cl)
throws ClassNotFoundException
className - name of the class desiredcl - ClassLoader to use if we need to load the class
ClassNotFoundException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||