Class AbstractClassLoader

  • Direct Known Subclasses:
    TransformingClassLoader

    public abstract class AbstractClassLoader
    extends java.lang.ClassLoader
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.ClassLoader classPath  
      private static java.security.ProtectionDomain DOMAIN  
      private ClassFilter filter  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected AbstractClassLoader​(java.lang.ClassLoader parent, java.lang.ClassLoader classPath, ClassFilter filter)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.objectweb.asm.Attribute[] attributes()  
      protected int getFlags()  
      protected ClassGenerator getGenerator​(org.objectweb.asm.ClassReader r)  
      java.lang.Class loadClass​(java.lang.String name)  
      protected void postProcess​(java.lang.Class c)  
      • Methods inherited from class java.lang.ClassLoader

        clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findClass, findLibrary, findLoadedClass, findResource, findResource, findResources, findSystemClass, getClassLoadingLock, getDefinedPackage, getDefinedPackages, getName, getPackage, getPackages, getParent, getPlatformClassLoader, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, getUnnamedModule, isRegisteredAsParallelCapable, loadClass, registerAsParallelCapable, resolveClass, resources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • classPath

        private java.lang.ClassLoader classPath
      • DOMAIN

        private static java.security.ProtectionDomain DOMAIN
    • Constructor Detail

      • AbstractClassLoader

        protected AbstractClassLoader​(java.lang.ClassLoader parent,
                                      java.lang.ClassLoader classPath,
                                      ClassFilter filter)
    • Method Detail

      • loadClass

        public java.lang.Class loadClass​(java.lang.String name)
                                  throws java.lang.ClassNotFoundException
        Overrides:
        loadClass in class java.lang.ClassLoader
        Throws:
        java.lang.ClassNotFoundException
      • getGenerator

        protected ClassGenerator getGenerator​(org.objectweb.asm.ClassReader r)
      • getFlags

        protected int getFlags()
      • attributes

        protected org.objectweb.asm.Attribute[] attributes()
      • postProcess

        protected void postProcess​(java.lang.Class c)