org.apache.geronimo.kernel.classloader
Class DelegatingClassLoader
java.lang.Object
java.lang.ClassLoader
org.apache.geronimo.kernel.classloader.DelegatingClassLoader
public class DelegatingClassLoader
- extends ClassLoader
ClassLoader implementation that delegates calls to multiple classloaders.
| Methods inherited from class java.lang.ClassLoader |
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getPackage, getPackages, getParent, getResourceAsStream, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DelegatingClassLoader
public DelegatingClassLoader()
addLoader
public void addLoader(ClassLoader loader)
addLoader
public void addLoader(Class<?> clazz)
findClass
public Class<?> findClass(String name)
throws ClassNotFoundException
- Overrides:
findClass in class ClassLoader
- Throws:
ClassNotFoundException
getResource
public URL getResource(String name)
- Overrides:
getResource in class ClassLoader
getResources
public Enumeration<URL> getResources(String name)
throws IOException
- Overrides:
getResources in class ClassLoader
- Throws:
IOException
Copyright © 2003-2013 The Apache Geronimo development community. All Rights Reserved.