org.apache.aries.ejb.modelling.impl
Class IDirectoryFinder.ResourceClassLoader

java.lang.Object
  extended by java.lang.ClassLoader
      extended by org.apache.aries.ejb.modelling.impl.IDirectoryFinder.ResourceClassLoader
Enclosing class:
IDirectoryFinder

public static class IDirectoryFinder.ResourceClassLoader
extends ClassLoader

A ClassLoader used by OpenEJB in annotation scanning


Constructor Summary
IDirectoryFinder.ResourceClassLoader(ClassLoader cl, List<org.apache.aries.util.filesystem.IDirectory> cpEntries)
           
 
Method Summary
protected  Class<?> findClass(String className)
           
protected  URL findResource(String resName)
           
 
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findResources, findSystemClass, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, 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
 

Constructor Detail

IDirectoryFinder.ResourceClassLoader

public IDirectoryFinder.ResourceClassLoader(ClassLoader cl,
                                            List<org.apache.aries.util.filesystem.IDirectory> cpEntries)
Method Detail

findResource

protected URL findResource(String resName)
Overrides:
findResource in class ClassLoader

findClass

protected Class<?> findClass(String className)
                      throws ClassNotFoundException
Overrides:
findClass in class ClassLoader
Throws:
ClassNotFoundException


Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.