public class ChildFirstClassLoader extends URLClassLoader
Constructor and Description |
---|
ChildFirstClassLoader(URL[] urls,
ClassLoader parent) |
Modifier and Type | Method and Description |
---|---|
URL |
getResource(String name) |
Enumeration<URL> |
getResources(String name) |
protected Class<?> |
loadClass(String name,
boolean resolve) |
addURL, close, definePackage, findClass, findResource, findResources, getPermissions, getResourceAsStream, getURLs, newInstance, newInstance
defineClass, defineClass
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
public ChildFirstClassLoader(URL[] urls, ClassLoader parent)
protected Class<?> loadClass(String name, boolean resolve) throws ClassNotFoundException
loadClass
in class ClassLoader
ClassNotFoundException
public Enumeration<URL> getResources(String name) throws IOException
getResources
in class ClassLoader
IOException
public URL getResource(String name)
getResource
in class ClassLoader