public class AggregateClassLoader
extends ClassLoader
Constructor and Description |
---|
AggregateClassLoader(ClassLoader classLoader) |
Modifier and Type | Method and Description |
---|---|
void |
addClassLoader(ClassLoader... classLoaders) |
void |
addClassLoader(ClassLoader classLoader) |
void |
addClassLoader(Collection<ClassLoader> classLoaders) |
boolean |
equals(Object obj) |
protected Class<?> |
findClass(String name) |
static ClassLoader |
getAggregateClassLoader(ClassLoader[] classLoaders) |
static ClassLoader |
getAggregateClassLoader(ClassLoader parentClassLoader,
ClassLoader... classLoaders) |
List<ClassLoader> |
getClassLoaders() |
URL |
getResource(String name) |
Enumeration<URL> |
getResources(String name) |
int |
hashCode() |
protected Class<?> |
loadClass(String name,
boolean resolve) |
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResourceAsStream, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
public static ClassLoader getAggregateClassLoader(ClassLoader parentClassLoader, ClassLoader... classLoaders)
public static ClassLoader getAggregateClassLoader(ClassLoader[] classLoaders)
public void addClassLoader(ClassLoader classLoader)
public void addClassLoader(ClassLoader... classLoaders)
public void addClassLoader(Collection<ClassLoader> classLoaders)
public boolean equals(Object obj)
equals
in class Object
public List<ClassLoader> getClassLoaders()
public URL getResource(String name)
getResource
in class ClassLoader
public Enumeration<URL> getResources(String name) throws IOException
getResources
in class ClassLoader
IOException
public int hashCode()
hashCode
in class Object
protected Class<?> findClass(String name) throws ClassNotFoundException
findClass
in class ClassLoader
ClassNotFoundException
protected Class<?> loadClass(String name, boolean resolve) throws ClassNotFoundException
loadClass
in class ClassLoader
ClassNotFoundException