Interface ClassRealm

  • All Known Implementing Classes:
    ClassRealmAdapter, DefaultClassRealm

    @Deprecated
    public interface ClassRealm
    Deprecated.

    Autonomous sub-portion of a ClassWorld.

    This class most closed maps to the ClassLoader role from Java and in facts can provide a ClassLoader view of itself using getClassLoader().

    • Method Detail

      • getId

        java.lang.String getId()
        Deprecated.
      • addConstituent

        void addConstituent​(java.net.URL constituent)
        Deprecated.
      • locateSourceRealm

        ClassRealm locateSourceRealm​(java.lang.String className)
        Deprecated.
      • setParent

        void setParent​(ClassRealm classRealm)
        Deprecated.
      • getClassLoader

        java.lang.ClassLoader getClassLoader()
        Deprecated.
      • getConstituents

        java.net.URL[] getConstituents()
        Deprecated.
      • loadClass

        java.lang.Class loadClass​(java.lang.String name)
                           throws java.lang.ClassNotFoundException
        Deprecated.
        Throws:
        java.lang.ClassNotFoundException
      • getResource

        java.net.URL getResource​(java.lang.String name)
        Deprecated.
      • findResources

        java.util.Enumeration findResources​(java.lang.String name)
                                     throws java.io.IOException
        Deprecated.
        Throws:
        java.io.IOException
      • getResourceAsStream

        java.io.InputStream getResourceAsStream​(java.lang.String name)
        Deprecated.
      • display

        void display()
        Deprecated.