Interface ClassRealmRequest


public interface ClassRealmRequest
Describes the requirements for a new class realm.
  • Method Details Link icon

    • getType Link icon

      Gets the type of the class realm.
      Returns:
      The type of the class realm, never null.
    • getParent Link icon

      ClassLoader getParent()
      Gets the parent class realm (if any).
      Returns:
      The parent class realm or null if using the default parent.
    • getImports Link icon

      @Deprecated List<String> getImports()
      Deprecated.
      Use getParentImports() instead.
      Returns:
      imports
    • getParentImports Link icon

      List<String> getParentImports()
      Gets the packages/types to import from the parent realm.
      Returns:
      The modifiable list of packages/types to import from the parent realm, never null.
    • getForeignImports Link icon

      Map<String,ClassLoader> getForeignImports()
      Gets the packages/types to import from foreign realms.
      Returns:
      The modifiable map of packages/types to import from foreign realms, never null.
    • getConstituents Link icon

      List<ClassRealmConstituent> getConstituents()
      Gets the constituents for the class realm.
      Returns:
      The modifiable list of constituents for the class realm, never null.