Class ArtifactHolderStore


  • public class ArtifactHolderStore
    extends Object
    Maintains the unique names of synapse configurations, and serves them when needed for parenting when applicable. An artifact holder's structuring element stack represents the complete path from child to parent.
    • Method Detail

      • addStructuringElementStack

        public static void addStructuringElementStack​(String componentUniqueId,
                                                      ArtifactHolder artifactHolderReference)
        Adds a deep clone of the provided artifact holder's structuring element stack, in order to keep track of parents for serving when necessary.
        Parameters:
        componentUniqueId - Unique id of the component.
        artifactHolderReference - Artifact holder object.
      • getStructuringElementStack

        public static Stack<StructuringElement> getStructuringElementStack​(String componentUniqueId)
        Gets the structuring element stack, that is denoted with the given unique component id.
        Parameters:
        componentUniqueId - Unique component id.
        Returns:
        Structuring Elements stack denoted by the given component uniq id, which contains the path from child to the parent.