|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Abstract definition of a class repository. Instances may be used to load classes from different sources and may be used in the Repository.setRepository method.
Repository
Method Summary | |
void |
clear()
Clear all entries from cache. |
JavaClass |
findClass(String className)
Find the class with the name provided, if the class isn't there, return NULL. |
ClassPath |
getClassPath()
Get the ClassPath associated with this Repository |
JavaClass |
loadClass(Class clazz)
Find the JavaClass instance for the given run-time class object |
JavaClass |
loadClass(String className)
Find the class with the name provided, if the class isn't there, make an attempt to load it. |
void |
removeClass(JavaClass clazz)
Remove class from repository |
void |
storeClass(JavaClass clazz)
Store the provided class under "clazz.getClassName()" |
Method Detail |
public void storeClass(JavaClass clazz)
public void removeClass(JavaClass clazz)
public JavaClass findClass(String className)
public JavaClass loadClass(String className) throws ClassNotFoundException
ClassNotFoundException
public JavaClass loadClass(Class clazz) throws ClassNotFoundException
ClassNotFoundException
public void clear()
public ClassPath getClassPath()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |