Class NamedClassLoader

    • Constructor Detail

      • NamedClassLoader

        protected NamedClassLoader​(ClassLoader parent,
                                   String name)
        Construct a new instance.
        Parameters:
        parent - the parent class loader (may be null to indicate that the platform class loader should be used)
        name - the name, or null if the class loader has no name
      • NamedClassLoader

        protected NamedClassLoader​(String name)
        Construct a new instance.
        Parameters:
        name - the name, or null if the class loader has no name
    • Method Detail

      • getName

        public String getName()
        Get the name of this class loader.
        Overrides:
        getName in class ClassLoader
        Returns:
        the name of this class loader, or null if it is unnamed