Class ObjectAdapterIdNumber

java.lang.Object
com.sun.corba.se.impl.ior.ObjectAdapterIdArray
com.sun.corba.se.impl.ior.ObjectAdapterIdNumber
All Implemented Interfaces:
ObjectAdapterId, Writeable

public class ObjectAdapterIdNumber extends ObjectAdapterIdArray
ObjectAdapterIdNumber is used to represent pre-JDK 1.4 POA adapter IDs. The POA ID was simply represented as a single integer, which was mapped to the actual POA instance. Here, we just represent these internally as arrays of the form { "OldRootPOA", "" }, and provide an extra method to get the number back.
  • Constructor Details

    • ObjectAdapterIdNumber

      public ObjectAdapterIdNumber(int poaid)
  • Method Details

    • getOldPOAId

      public int getOldPOAId()
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • write

      public void write(OutputStream os)
      Description copied from interface: Writeable
      Write this object directly to the output stream.
      Specified by:
      write in interface Writeable