org.jboss.classloading.spi
Class DelegatingClassLoader
java.lang.Object
java.lang.ClassLoader
org.jboss.classloading.spi.DelegatingClassLoader
public class DelegatingClassLoader
- extends ClassLoader
DelegatingClassLoader.
- Version:
- $Revision: 1.1 $
- Author:
- Adrian Brock, anil.saldhana@redhat.com
Field Summary |
protected boolean |
standard
Whether to use standard loading |
Methods inherited from class java.lang.ClassLoader |
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getPackage, getPackages, getParent, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
standard
protected boolean standard
- Whether to use standard loading
DelegatingClassLoader
public DelegatingClassLoader(RealClassLoader parent)
- Create a new DelegatingClassLoader.
- Parameters:
parent
- the parent
loadClass
protected Class<?> loadClass(String name,
boolean resolve)
throws ClassNotFoundException
- Overrides:
loadClass
in class ClassLoader
- Throws:
ClassNotFoundException
getResource
public URL getResource(String name)
- Overrides:
getResource
in class ClassLoader
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.