Class RemoteType

All Implemented Interfaces:
Cloneable, Constants, Constants, ContextElement, Constants, RuntimeConstants
Direct Known Subclasses:
AbstractType

public class RemoteType extends InterfaceType
RemoteType represents any non-special interface which inherits from java.rmi.Remote.

The static forRemote(...) method must be used to obtain an instance, and will return null if the ClassDefinition is non-conforming.

Author:
Bryan Atsatt
  • Constructor Details

    • RemoteType

      protected RemoteType(ContextStack stack, ClassDefinition classDef)
      Create a RemoteType instance for the given class. The resulting object is not yet completely initialized.
    • RemoteType

      protected RemoteType(ContextStack stack, ClassDefinition classDef, int typeCode)
      Create a RemoteType instance for the given class. The resulting object is not yet completely initialized.
  • Method Details

    • forRemote

      public static RemoteType forRemote(ClassDefinition classDef, ContextStack stack, boolean quiet)
      Create an RemoteType for the given class. If the class is not a properly formed or if some other error occurs, the return value will be null, and errors will have been reported to the supplied BatchEnvironment.
    • getTypeDescription

      public String getTypeDescription()
      Return a string describing this type.
      Specified by:
      getTypeDescription in class Type