| Modifier and Type | Field and Description |
|---|---|
| private static ThreadLocal |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| private static Repository | |
| public JavaClass | findClass(String className)
Implements org. |
| public JavaClass | loadClass(String className)
Implements org. |
| public JavaClass | loadClass(Class<T> clazz)
Implements org. |
| public void | removeClass(JavaClass clazz)
Implements org. |
| public static void | |
| public void | storeClass(JavaClass clazz)
Implements org. |
| threadLocal | back to summary |
|---|---|
| private static ThreadLocal<WeakReference<Repository>> threadLocal | |
| ThreadLocalAwareRepository | back to summary |
|---|---|
| public ThreadLocalAwareRepository() | |
| clear | back to summary |
|---|---|
| public void clear() Implements org. Doc from org. Clear all entries from cache.
| |
| currentRepository | back to summary |
|---|---|
| private static Repository currentRepository() | |
| findClass | back to summary |
|---|---|
| public JavaClass findClass(String className) Implements org. Doc from org. Find the class with the name provided, if the class isn't there, return NULL.
| |
| loadClass | back to summary |
|---|---|
| public JavaClass loadClass(String className) throws ClassNotFoundException Implements org. Doc from org. Find the class with the name provided, if the class isn't there, make an attempt to load it.
| |
| loadClass | back to summary |
|---|---|
| public JavaClass loadClass(Class<T> clazz) throws ClassNotFoundException Implements org. Doc from org. Find the JavaClass instance for the given run-time class object
| |
| removeClass | back to summary |
|---|---|
| public void removeClass(JavaClass clazz) Implements org. Doc from org. Remove class from repository
| |
| setCurrentRepository | back to summary |
|---|---|
| public static void setCurrentRepository(Repository repository) | |
| storeClass | back to summary |
|---|---|
| public void storeClass(JavaClass clazz) Implements org. Doc from org. Store the provided class under "clazz.getClassName()"
| |