Save This Page
Home » openjdk-7 » sun » misc » [javadoc | source]
sun.misc
static class: Launcher.AppClassLoader [javadoc | source]
java.lang.Object
   java.lang.ClassLoader
      java.security.SecureClassLoader
         java.net.URLClassLoader
            sun.misc.Launcher$AppClassLoader
The class loader used for loading from java.class.path. runs in a restricted security context.
Fields inherited from java.net.URLClassLoader:
ucp
Fields inherited from java.lang.ClassLoader:
nocerts,  classAssertionStatus
Constructor:
 AppClassLoader(URL[] urls,
    ClassLoader parent) 
Method from sun.misc.Launcher$AppClassLoader Summary:
getAppClassLoader,   getPermissions,   loadClass
Methods from java.net.URLClassLoader:
access$000,   access$100,   addURL,   definePackage,   findClass,   findResource,   findResources,   getPermissions,   getURLs,   newInstance,   newInstance
Methods from java.security.SecureClassLoader:
defineClass,   defineClass,   getPermissions
Methods from java.lang.ClassLoader:
access$000,   access$100,   addClass,   clearAssertionStatus,   defineClass,   defineClass,   defineClass,   defineClass,   definePackage,   desiredAssertionStatus,   findClass,   findLibrary,   findLoadedClass,   findNative,   findResource,   findResources,   findSystemClass,   getBootstrapClassPath,   getCallerClassLoader,   getPackage,   getPackages,   getParent,   getResource,   getResourceAsStream,   getResources,   getSystemClassLoader,   getSystemResource,   getSystemResourceAsStream,   getSystemResources,   isAncestor,   loadClass,   loadClass,   loadLibrary,   resolveClass,   setClassAssertionStatus,   setDefaultAssertionStatus,   setPackageAssertionStatus,   setSigners
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from sun.misc.Launcher$AppClassLoader Detail:
 public static ClassLoader getAppClassLoader(ClassLoader extcl) throws IOException 
 protected PermissionCollection getPermissions(CodeSource codesource) 
    allow any classes loaded from classpath to exit the VM.
 public Class loadClass(String name,
    boolean resolve) throws ClassNotFoundException 
    Override loadClass so we can checkPackageAccess.