Interface IOR

All Superinterfaces:
Collection<TaggedProfile>, Iterable<TaggedProfile>, List<TaggedProfile>, MakeImmutable, Writeable
All Known Implementing Classes:
IORImpl

@ManagedData @Description("Interoperable Object Reference: the internal structure of a remote object reference") public interface IOR extends List<TaggedProfile>, Writeable, MakeImmutable
An IOR is represented as a list of profiles. Only instances of TaggedProfile are contained in the list.
  • Method Details

    • getTaggedProfiles

      @ManagedAttribute @Description("The list of profiles in this IOR") Iterator<TaggedProfile> getTaggedProfiles()
    • getORB

      ORB getORB()
    • getTypeId

      @ManagedAttribute @Description("The repository ID of the IOR") String getTypeId()
      Return the type id string from the IOR.
      Returns:
      type id string
    • iteratorById

      Iterator<TaggedProfile> iteratorById(int id)
      Return an iterator that iterates over tagged profiles with identifier id. It is not possible to modify the list through this iterator.
      Parameters:
      id - identifier id
      Returns:
      Iterator over relevant tagged profiles
    • stringify

      String stringify()
      Return a representation of this IOR in the standard GIOP stringified format that begins with "IOR:". This does not return the same as Object.toString()
      Returns:
      String representation
      See Also:
    • getIOPIOR

      IOR getIOPIOR()
      Return a representation of this IOR in the standard GIOP marshalled form.
      Returns:
      a representation of this IOR
    • isNil

      boolean isNil()
      Return true if this IOR has no profiles.
      Returns:
      true if there aren't any profiles, false otherwise
    • isEquivalent

      boolean isEquivalent(IOR ior)
      Return true if this IOR is equivalent to ior. Here equivalent means that the typeids are the same, they have the same number of profiles, and each profile is equivalent to the corresponding profile.
      Parameters:
      ior - IOR to compare to
      Returns:
      true if they are equivalent
      See Also:
    • equals

      boolean equals(Object other)
      Return true if this IOR is equivalent to ior. Here equivalent means that the typeids and delegates are the same. It does not check if the profiles are the same or of the same number.
      Specified by:
      equals in interface Collection<TaggedProfile>
      Specified by:
      equals in interface List<TaggedProfile>
      Overrides:
      equals in class Object
      Parameters:
      other - object to compare to
      Returns:
      true if they are equivalent
      See Also:
    • getIORTemplates

      IORTemplateList getIORTemplates()
      Return the IORTemplate for this IOR. This is simply a list of all TaggedProfileTemplates derived from the TaggedProfiles of the IOR.
      Returns:
      the IORTemplate for this IOR
    • getProfile

      IIOPProfile getProfile()
      Return the first IIOPProfile in this IOR.
      Returns:
      the first IIOPProfile