Interface IOR

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object other)
      Return true if this IOR is equivalent to ior.
      IOR getIOPIOR()
      Return a representation of this IOR in the standard GIOP marshalled form.
      IORTemplateList getIORTemplates()
      Return the IORTemplate for this IOR.
      ORB getORB()  
      IIOPProfile getProfile()
      Return the first IIOPProfile in this IOR.
      java.util.Iterator<TaggedProfile> getTaggedProfiles()  
      java.lang.String getTypeId()
      Return the type id string from the IOR.
      boolean isEquivalent​(IOR ior)
      Return true if this IOR is equivalent to ior.
      boolean isNil()
      Return true if this IOR has no profiles.
      java.util.Iterator<TaggedProfile> iteratorById​(int id)
      Return an iterator that iterates over tagged profiles with identifier id.
      java.lang.String stringify()
      Return a representation of this IOR in the standard GIOP stringified format that begins with "IOR:".
      • Methods inherited from interface java.util.Collection

        parallelStream, removeIf, stream
      • Methods inherited from interface java.lang.Iterable

        forEach
      • Methods inherited from interface java.util.List

        add, add, addAll, addAll, clear, contains, containsAll, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
      • Methods inherited from interface com.sun.corba.ee.spi.ior.Writeable

        write
    • Method Detail

      • getTaggedProfiles

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

        ORB getORB()
      • getTypeId

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

        java.util.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

        java.lang.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:
        Object.toString()
      • 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(java.lang.Object)
      • equals

        boolean equals​(java.lang.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 java.util.Collection<TaggedProfile>
        Specified by:
        equals in interface java.util.List<TaggedProfile>
        Overrides:
        equals in class java.lang.Object
        Parameters:
        other - object to compare to
        Returns:
        true if they are equivalent
        See Also:
        isEquivalent(IOR)
      • 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