org.aspectj.apache.bcel.Repository
| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private static ClassLoader | |
| private final Map | |
| private final ClassLoaderReference |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public JavaClass | findClass(String className)
Implements org. |
| private static synchronized ClassLoader | |
| public JavaClass | loadClass(String className)
Implements org. |
| public JavaClass | loadClass(Class<T> clazz)
Implements org. |
| private JavaClass | |
| public void | removeClass(JavaClass clazz)
Implements org. |
| public void | storeClass(JavaClass clazz)
Implements org. |
| bootClassLoader | back to summary |
|---|---|
| private static ClassLoader bootClassLoader | |
| loadedClasses | back to summary |
|---|---|
| private final Map<String, JavaClass> loadedClasses | |
| loaderRef | back to summary |
|---|---|
| private final ClassLoaderReference loaderRef | |
| NonCachingClassLoaderRepository | back to summary |
|---|---|
| public NonCachingClassLoaderRepository(ClassLoader loader) | |
| NonCachingClassLoaderRepository | back to summary |
|---|---|
| public NonCachingClassLoaderRepository(ClassLoaderReference loaderRef) | |
| clear | back to summary |
|---|---|
| public void clear() Implements org. Clear all entries from cache. | |
| findClass | back to summary |
|---|---|
| public JavaClass findClass(String className) Implements org. Find an already defined JavaClass. | |
| getBootClassLoader | back to summary |
|---|---|
| private static synchronized ClassLoader getBootClassLoader() | |
| loadClass | back to summary |
|---|---|
| public JavaClass loadClass(String className) throws ClassNotFoundException Implements org. Lookup a JavaClass object from the Class Name provided. | |
| 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 | |
| loadJavaClass | back to summary |
|---|---|
| private JavaClass loadJavaClass(String className) throws ClassNotFoundException | |
| removeClass | back to summary |
|---|---|
| public void removeClass(JavaClass clazz) Implements org. Remove class from repository | |
| storeClass | back to summary |
|---|---|
| public void storeClass(JavaClass clazz) Implements org. Store a new JavaClass into this Repository. | |
| Modifier and Type | Class and Description |
|---|---|
| pack-priv class |
| Modifier and Type | Field and Description |
|---|---|
| private Map | |
| private ReferenceQueue |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | clear()
Overrides java. Implements java. |
| public Set | entrySet()
Implements abstract java. Implements java. Set view of the mappings contained in this map.
|
| public Object | get(Object
the key whose associated value is to be returned key)Overrides java. Implements java. null if this map contains no mapping for the key.
|
| private void | |
| public Object | put(Object
key with which the specified value is to be associated k, Object value to be associated with the specified key v)Overrides java. Implements java. |
| public Object | remove(Object
key whose mapping is to be removed from the map k)Overrides java. Implements java. |
| public int | size()
Overrides java. Implements java. |
| map | back to summary |
|---|---|
| private Map<Object, NonCachingClassLoaderRepository. | |
| rq | back to summary |
|---|---|
| private ReferenceQueue<T> rq | |
| SoftHashMap | back to summary |
|---|---|
| public SoftHashMap(Map<Object, NonCachingClassLoaderRepository. | |
| SoftHashMap | back to summary |
|---|---|
| public SoftHashMap() | |
| SoftHashMap | back to summary |
|---|---|
| public SoftHashMap(Map<Object, NonCachingClassLoaderRepository. | |
| clear | back to summary |
|---|---|
| public void clear() Overrides java. Implements java. Doc from java. Removes all of the mappings from this map (optional operation). The map will be empty after this call returns.
| |
| entrySet | back to summary |
|---|---|
| public Set Implements abstract java. Implements java. Doc from java. Returns a | |
| get | back to summary |
|---|---|
| public Object get(Object key) Overrides java. Implements java. Doc from java. Returns the value to which the specified key is mapped,
or More formally, if this map contains a mapping from a key
If this map permits null values, then a return value of
| |
| processQueue | back to summary |
|---|---|
| private void processQueue() | |
| put | back to summary |
|---|---|
| public Object put(Object k, Object v) Overrides java. Implements java. Doc from java. Associates the specified value with the specified key in this map
(optional operation). If the map previously contained a mapping for
the key, the old value is replaced by the specified value. (A map
| |
| remove | back to summary |
|---|---|
| public Object remove(Object k) Overrides java. Implements java. Doc from java. Removes the mapping for a key from this map if it is present
(optional operation). More formally, if this map contains a mapping
from key Returns the value to which this map previously associated the key,
or If this map permits null values, then a return value of
The map will not contain a mapping for the specified key once the call returns.
| |
| size | back to summary |
|---|---|
| public int size() Overrides java. Implements java. Doc from java. Returns the number of key-value mappings in this map. If the
map contains more than
| |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| key | back to summary |
|---|---|
| private final Object key | |
| SpecialValue | back to summary |
|---|---|
| pack-priv SpecialValue(Object k, Object v) | |