Interface TaggedProfile

All Superinterfaces:
Identifiable, MakeImmutable, Writeable
All Known Subinterfaces:
IIOPProfile
All Known Implementing Classes:
GenericTaggedProfile, IIOPProfileImpl, VirtualAddressAgentImpl.SpecialIIOPProfileImpl

@ManagedData @Description("A TaggedProfile contained in an IOR") @IncludeSubclass(IIOPProfile.class) public interface TaggedProfile extends Identifiable, MakeImmutable
TaggedProfile represents a tagged profile in an IOR. A profile contains all of the information necessary for an invocation. It contains one or more endpoints that may be used for an invocation. A TaggedProfile conceptually has three parts: A TaggedProfileTemplate, an ObjectKeyTemplate, and an ObjectId.
  • Method Details

    • getTaggedProfileTemplate

      @ManagedAttribute @Description("Template for this TaggedProfile") TaggedProfileTemplate getTaggedProfileTemplate()
    • getObjectId

      @ManagedAttribute @Description("The ObjectId used in the IIOPProfile in this IOR") ObjectId getObjectId()
    • getObjectKeyTemplate

      @ManagedAttribute @Description("The template for the ObjectKey in the IIOPProfile in this IOR") ObjectKeyTemplate getObjectKeyTemplate()
    • getObjectKey

      ObjectKey getObjectKey()
    • isEquivalent

      boolean isEquivalent(TaggedProfile prof)
      Return true is prof is equivalent to this TaggedProfile. This means that this and prof are indistinguishable for the purposes of remote invocation. Typically this means that the profile data is identical and both profiles contain exactly the same components (if components are applicable). isEquivalent( prof ) should imply that getObjectId().equals( prof.getObjectId() ) is true, and so is getObjectKeyTemplate().equals( prof.getObjectKeyTemplate() ).
      Parameters:
      prof - profile to compare with
      Returns:
      true if they are equivalent
    • getIOPProfile

      TaggedProfile getIOPProfile()
      Return the TaggedProfile as a CDR encapsulation in the standard format. This is required for Portable interceptors.
      Returns:
      the tagged profile
    • isLocal

      boolean isLocal()
      Return true if this TaggedProfile was created in orb. Caches the result.
      Returns:
      if this TaggedProfile was created in orb