|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.ClassLoader
java.security.SecureClassLoader
java.net.URLClassLoader
org.jboss.util.loading.DelegatingClassLoader (src)
org.jboss.mx.loading.LoaderRepositoryClassLoader
A delegating classloader that first peeks in the loader repository's cache.
Field Summary | |
protected LoaderRepository (src) |
repository
The loader repository |
Fields inherited from class org.jboss.util.loading.DelegatingClassLoader (src) |
EMPTY_URL_ARRAY, standard |
Constructor Summary | |
LoaderRepositoryClassLoader(java.lang.ClassLoader parent,
LoaderRepository (src) repository)
Constructor |
|
LoaderRepositoryClassLoader(java.lang.ClassLoader parent,
LoaderRepository (src) repository,
java.net.URLStreamHandlerFactory factory)
Constructor |
Method Summary | |
protected java.lang.Class |
loadClass(java.lang.String className,
boolean resolve)
Load a class, first peek in the loader repository cache then ask the parent. |
Methods inherited from class java.net.URLClassLoader |
addURL, definePackage, findClass, findResource, findResources, getPermissions, getURLs, newInstance, newInstance |
Methods inherited from class java.security.SecureClassLoader |
defineClass |
Methods inherited from class java.lang.ClassLoader |
clearAssertionStatus, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, 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 |
protected LoaderRepository (src) repository
Constructor Detail |
public LoaderRepositoryClassLoader(java.lang.ClassLoader parent, LoaderRepository (src) repository)
parent
- the parent classloader, cannot be null.repository
- the loader repository, cannot be null.public LoaderRepositoryClassLoader(java.lang.ClassLoader parent, LoaderRepository (src) repository, java.net.URLStreamHandlerFactory factory)
factory
- the url stream factory.Method Detail |
protected java.lang.Class loadClass(java.lang.String className, boolean resolve) throws java.lang.ClassNotFoundException
loadClass
in class DelegatingClassLoader (src)
className
- the class name to loadresolve
- whether to link the class
java.lang.ClassNotFoundException
- when the class could not be found
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |