org.jboss.classloading.spi
Class DelegatingClassLoader

java.lang.Object
  extended by java.lang.ClassLoader
      extended by 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
 
Constructor Summary
DelegatingClassLoader(RealClassLoader parent)
          Create a new DelegatingClassLoader.
 
Method Summary
 URL getResource(String name)
           
protected  Class<?> loadClass(String name, boolean resolve)
           
 
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
 

Field Detail

standard

protected boolean standard
Whether to use standard loading

Constructor Detail

DelegatingClassLoader

public DelegatingClassLoader(RealClassLoader parent)
Create a new DelegatingClassLoader.

Parameters:
parent - the parent
Method Detail

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.