| org.jboss.mx.loading.LoaderRepositoryClassLoader
LoaderRepositoryClassLoader | public class LoaderRepositoryClassLoader extends DelegatingClassLoader (Code) | | A delegating classloader that first peeks in the loader
repository's cache.
author: Adrian Brock version: $Revision: 57200 $ |
Method Summary | |
protected Class | loadClass(String className, boolean resolve) Load a class, first peek in the loader repository cache then
ask the parent. |
LoaderRepositoryClassLoader | public LoaderRepositoryClassLoader(ClassLoader parent, LoaderRepository repository)(Code) | | Constructor
Parameters: parent - the parent classloader, cannot be null. Parameters: repository - the loader repository, cannot be null. |
loadClass | protected Class loadClass(String className, boolean resolve) throws ClassNotFoundException(Code) | | Load a class, first peek in the loader repository cache then
ask the parent.
Parameters: className - the class name to load Parameters: resolve - whether to link the class the loaded class throws: ClassNotFoundException - when the class could not be found |
|
|