|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Repository
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(java.lang.String className)
Find the class with the name provided, if the class isn't there, return NULL. |
JavaClass |
loadClass(java.lang.Class clazz)
Find the JavaClass instance for the given run-time class object |
JavaClass |
loadClass(java.lang.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 |
|---|
void storeClass(JavaClass clazz)
void removeClass(JavaClass clazz)
JavaClass findClass(java.lang.String className)
JavaClass loadClass(java.lang.String className)
throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
JavaClass loadClass(java.lang.Class clazz)
throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundExceptionvoid clear()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||