public interface Repository extends Serializable
Repository
Modifier and Type | Method and Description |
---|---|
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()"
|
void storeClass(JavaClass clazz)
void removeClass(JavaClass clazz)
JavaClass findClass(String className)
JavaClass loadClass(String className) throws ClassNotFoundException
ClassNotFoundException
JavaClass loadClass(Class<?> clazz) throws ClassNotFoundException
ClassNotFoundException
void clear()
ClassPath getClassPath()
Copyright © 2017. All rights reserved.