| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.ClassLoader
java.security.SecureClassLoader
java.net.URLClassLoader
com.aelitis.azureus.launcher.classloading.PrimaryClassloader
public class PrimaryClassloader
| Constructor Summary | |
|---|---|
| PrimaryClassloader(java.lang.ClassLoader parent)Deprecated. DO NOT INVOKE MANUALLY | |
| Method Summary | |
|---|---|
| static java.lang.ClassLoader | getBootstrappedLoader() | 
| protected  java.lang.Class | loadClass(java.lang.String name,
          boolean resolve)altered class lookup follow normal delegation, circumventing the system classloader as we bootstraped it away OR delegate to the system classloader iff it is for classes from this package, this allows us to rebootstrap and discard other branches in the hierarchy check for loaded by peers try to load from peers | 
| Methods inherited from class java.net.URLClassLoader | 
|---|
| addURL, definePackage, findClass, findResource, findResources, getPermissions, getURLs, newInstance, newInstance | 
| Methods inherited from class java.security.SecureClassLoader | 
|---|
| defineClass, defineClass | 
| 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, 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 | 
|---|
public PrimaryClassloader(java.lang.ClassLoader parent)
-Djava.system.class.loader=com.aelitis.azureus.launcher.classloading.PrimaryClassloader
 instead of bootstrapping, has the advantage that this gets registered as system classloader
| Method Detail | 
|---|
protected java.lang.Class loadClass(java.lang.String name,
                                    boolean resolve)
                             throws java.lang.ClassNotFoundException
loadClass in class java.lang.ClassLoaderjava.lang.ClassNotFoundExceptionpublic static java.lang.ClassLoader getBootstrappedLoader()
toRun - | 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||