Interface TaggedProfileTemplate

    • Method Detail

      • getTaggedComponents

        @ManagedAttribute
        @Description("The list of TaggedComponents in this TaggedProfileTemplate")
        java.util.Iterator<TaggedComponent> getTaggedComponents()
      • iteratorById

        java.util.Iterator<TaggedComponent> iteratorById​(int id)
        Return an iterator that iterates over tagged components with identifier id. It is not possible to modify the list through this iterator.
        Parameters:
        id - id to look up
        Returns:
        Iterator over tagged components
      • iteratorById

        <T extends TaggedComponent> java.util.Iterator<T> iteratorById​(int id,
                                                                       java.lang.Class<T> cls)
      • create

        TaggedProfile create​(ObjectKeyTemplate oktemp,
                             ObjectId id)
        Create a TaggedProfile from this template.
        Parameters:
        oktemp - template to create from
        id - id of object
        Returns:
        created TaggedProfile
      • isEquivalent

        boolean isEquivalent​(TaggedProfileTemplate temp)
        Return true if temp is equivalent to this template. Equivalence means that in some sense an invocation on a profile created by this template has the same results as an invocation on a profile created from temp. Equivalence may be weaker than equality.
        Parameters:
        temp - template to compare with
        Returns:
        true if they are equivalent
      • getIOPComponents

        TaggedComponent[] getIOPComponents​(ORB orb,
                                           int id)
        Return the tagged components in this profile (if any) in the GIOP marshalled form, which is required for Portable Interceptors. Returns null if either the profile has no components, or if this type of profile can never contain components.
        Parameters:
        orb - ORB to get components from
        id - ID of components to look up
        Returns:
        tagged components in this profile