com.opensymphony.xwork2.util.classloader
Class ResourceStoreClassLoader

java.lang.Object
  extended by java.lang.ClassLoader
      extended by com.opensymphony.xwork2.util.classloader.ResourceStoreClassLoader

public final class ResourceStoreClassLoader
extends ClassLoader

class taken from Apache JCI


Field Summary
private static Logger LOG
           
private  ResourceStore[] stores
           
 
Constructor Summary
ResourceStoreClassLoader(ClassLoader pParent, ResourceStore[] pStores)
           
 
Method Summary
private  Class fastFindClass(String name)
           
protected  Class findClass(String name)
           
protected  Class loadClass(String name, boolean resolve)
           
 
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getPackage, getPackages, getParent, getResource, 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

LOG

private static final Logger LOG

stores

private final ResourceStore[] stores
Constructor Detail

ResourceStoreClassLoader

public ResourceStoreClassLoader(ClassLoader pParent,
                                ResourceStore[] pStores)
Method Detail

fastFindClass

private Class fastFindClass(String name)

loadClass

protected Class loadClass(String name,
                          boolean resolve)
                   throws ClassNotFoundException
Overrides:
loadClass in class ClassLoader
Throws:
ClassNotFoundException

findClass

protected Class findClass(String name)
                   throws ClassNotFoundException
Overrides:
findClass in class ClassLoader
Throws:
ClassNotFoundException


Copyright © 2000-2009 Apache Software Foundation. All Rights Reserved.