org.apache.commons.jci.stores
Class ResourceStoreClassLoader

java.lang.Object
  extended by java.lang.ClassLoader
      extended by org.apache.commons.jci.stores.ResourceStoreClassLoader

public final class ResourceStoreClassLoader
extends ClassLoader

A ClassLoader backed by an array of ResourceStores

Author:
tcurdt

Constructor Summary
ResourceStoreClassLoader(ClassLoader pParent, ResourceStore[] pStores)
           
 
Method Summary
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
 

Constructor Detail

ResourceStoreClassLoader

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

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 © 2004–2013 The Apache Software Foundation. All rights reserved.