org.jppf.classloader
Class NonDelegatingClassLoader
java.lang.Object
java.lang.ClassLoader
java.security.SecureClassLoader
java.net.URLClassLoader
org.jppf.classloader.NonDelegatingClassLoader
public class NonDelegatingClassLoader
- extends URLClassLoader
- Author:
- Laurent Cohen
| Methods inherited from class java.lang.ClassLoader |
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, 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 |
NonDelegatingClassLoader
public NonDelegatingClassLoader(URL[] urls,
ClassLoader parent)
- Initialize this class loader with the specified urls and parent.
- Parameters:
urls - an array of class path urls.parent - the parent class loader.
loadClassDirect
public Class<?> loadClassDirect(String name)
throws ClassNotFoundException
- Attempts to load a class directly from the parent.
- Parameters:
name - the name of the class to load.
- Returns:
- the correpsonding class.
- Throws:
ClassNotFoundException - if the class could not be loaded.
Copyright © 2005-2010 JPPF Team.