public interface Repository
Repository
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears all entries from cache.
|
JavaClass |
findClass(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(Class<?> clazz)
Finds the JavaClass instance for the given run-time class object.
|
JavaClass |
loadClass(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 clear()
JavaClass findClass(String className)
ClassPath getClassPath()
JavaClass loadClass(Class<?> clazz) throws ClassNotFoundException
ClassNotFoundException
- if the class can't be found.JavaClass loadClass(String className) throws ClassNotFoundException
ClassNotFoundException
- if the class can't be found.void removeClass(JavaClass clazz)
void storeClass(JavaClass clazz)
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.