public interface Repository
Repository
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears all entries from cache.
|
JavaClass |
findClass(java.lang.String className)
Finds the class with the name provided, if the class
isn't there, return NULL.
|
ClassPath |
getClassPath()
Gets the ClassPath associated with this Repository
|
JavaClass |
loadClass(java.lang.Class<?> clazz)
Finds the JavaClass instance for the given run-time class object
|
JavaClass |
loadClass(java.lang.String className)
Finds the class with the name provided, if the class
isn't there, make an attempt to load it.
|
void |
removeClass(JavaClass clazz)
Removes class from repository
|
void |
storeClass(JavaClass clazz)
Stores the provided class under "clazz.getClassName()"
|
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.ClassNotFoundException
void clear()
ClassPath getClassPath()