public class ContextFinder extends ClassLoader implements PrivilegedAction<List<ClassLoader>>
| Constructor and Description |
|---|
ContextFinder(ClassLoader contextClassLoader) |
| Modifier and Type | Method and Description |
|---|---|
protected Enumeration<URL> |
findResources(String arg0) |
URL |
getResource(String arg0) |
protected Class<?> |
loadClass(String arg0,
boolean arg1) |
List<ClassLoader> |
run() |
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSignerspublic ContextFinder(ClassLoader contextClassLoader)
public List<ClassLoader> run()
run in interface PrivilegedAction<List<ClassLoader>>protected Class<?> loadClass(String arg0, boolean arg1) throws ClassNotFoundException
loadClass in class ClassLoaderClassNotFoundExceptionpublic URL getResource(String arg0)
getResource in class ClassLoaderprotected Enumeration<URL> findResources(String arg0) throws IOException
findResources in class ClassLoaderIOExceptionCopyright © 2007–2016 The Apache Software Foundation. All rights reserved.