Class ClassLoaderReference

  • All Implemented Interfaces:
    Serializable

    public class ClassLoaderReference
    extends Object
    implements Serializable
    Defines the meta-information that identifies a class loader. This is effectively a "name" for a class loader.
    See Also:
    Serialized Form
    • Field Detail

      • Java

        public static final Atom Java
        Canonical name for the Java language
      • Primordial

        public static final ClassLoaderReference Primordial
        Canonical reference to primordial class loader
      • Extension

        public static final ClassLoaderReference Extension
        Canonical reference to extension class loader
      • Application

        public static final ClassLoaderReference Application
        Canonical reference to application class loader
    • Method Detail

      • getName

        public Atom getName()
        Returns:
        the name of this class loader
      • getLanguage

        public Atom getLanguage()
        Returns:
        the name of the language this class loader belongs to
      • getParent

        public ClassLoaderReference getParent()
        Returns:
        the parent of this loader in the loader hierarchy, or null if none
      • equals

        public boolean equals​(Object obj)
        Note: names for class loader references must be unique.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object