| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final Cleaner. | |
| private final List | |
| private final ReentrantLock | |
| private final List |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | addURL(URL
the url to append url)Overrides java. Appends the specified URL to the list of URLs to search for classes and resources. |
| protected Class | findClass(String name)
Overrides java. Finds and loads the class with the specified name from the URL search path. |
| protected Class | |
| pack-priv Class | |
| public URL | findResource(String name)
Overrides java. Finds the resource with the specified name on the URL search path. |
| public URL | findResourceDirect(String name)
Works like |
| public Enumeration | findResources(String name)
Overrides java. Returns an Enumeration of URLs representing all of the resources on the URL search path having the specified name. |
| public Collection | |
| protected Class | |
| public final Cleaner. | |
| public void | |
| public void | |
| public String |
| cleanable | back to summary |
|---|---|
| private final Cleaner. | |
| facadeSurrogates | back to summary |
|---|---|
| private final List<ClassLoaderFacade> facadeSurrogates | |
| lock | back to summary |
|---|---|
| private final ReentrantLock lock | |
| surrogates | back to summary |
|---|---|
| private final List<ClassLoader> surrogates | |
| ClassLoaderProxy | back to summary |
|---|---|
| public ClassLoaderProxy(URL[] shared, ClassLoader parent) Creates a new instance of ClassLoader | |
| addDelegate | back to summary |
|---|---|
| public void addDelegate(ClassLoader cl) | |
| addURL | back to summary |
|---|---|
| public void addURL(URL url) Overrides java. Appends the specified URL to the list of URLs to search for classes and resources.
| |
| findClass | back to summary |
|---|---|
| protected Class Overrides java. Doc from java. Finds and loads the class with the specified name from the URL search path. Any URLs referring to JAR files are loaded and opened as needed until the class is found.
| |
| findClass | back to summary |
|---|---|
| protected Class | |
| findClassDirect | back to summary |
|---|---|
| pack-priv Class
| |
| findResource | back to summary |
|---|---|
| public URL findResource(String name) Overrides java. Doc from java. Finds the resource with the specified name on the URL search path. | |
| findResourceDirect | back to summary |
|---|---|
| public URL findResourceDirect(String name) Works like | |
| findResources | back to summary |
|---|---|
| public Enumeration Overrides java. Doc from java. Returns an Enumeration of URLs representing all of the resources on the URL search path having the specified name.
| |
| getDelegates | back to summary |
|---|---|
| public Collection | |
| loadClass | back to summary |
|---|---|
| protected Class | |
| registerStopEvent | back to summary |
|---|---|
| public final Cleaner. called by the facade class loader when it is garbage collected. this is a good time to see if this module should be unloaded. | |
| removeDelegate | back to summary |
|---|---|
| public void removeDelegate(ClassLoader cl) | |
| stop | back to summary |
|---|---|
| public void stop() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| Modifier and Type | Field and Description |
|---|---|
| private final List | |
| private final List |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| facadeSurrogates | back to summary |
|---|---|
| private final List<ClassLoaderFacade> facadeSurrogates | |
| surrogates | back to summary |
|---|---|
| private final List<ClassLoader> surrogates | |
| DelegateCleaner | back to summary |
|---|---|
| pack-priv DelegateCleaner(List<ClassLoader> surrogates, List<ClassLoaderFacade> facadeSurrogates) | |
| run | back to summary |
|---|---|
| public void run() Implements java. Doc from java. Runs this operation.
| |