Class ListEndpoint

    • Constructor Detail

      • ListEndpoint

        public ListEndpoint()
    • Method Detail

      • getList

        public List<Endpoint> getList()
        Get the list of child endpoints containing in this endpoint
        Returns:
        all the child endpoints
      • getChild

        public Endpoint getChild​(int pos)
        Get a child endpoint
        Parameters:
        pos - position in the child endpoint list
        Returns:
        child endpoint of the given position in the list
      • removeChild

        public Endpoint removeChild​(int pos)
        Remove a child endpoint
        Parameters:
        pos - position in the child endpoint list
      • removeChild

        public boolean removeChild​(Endpoint endpoint)
        Remove a child endpoint
        Parameters:
        endpoint - Endpoint to be removed
        Returns:
        whether child endpoint removal is success
      • addChild

        public void addChild​(Endpoint endpoint)
        Add a child endpoint to the list
        Parameters:
        endpoint - endpoint to be added
      • serializeChildren

        protected void serializeChildren​(org.apache.axiom.om.OMElement parent,
                                         List<Endpoint> list)
        Serialize all child endpoints
        Parameters:
        parent - parent endpoint
        list - child endpoint list
      • addChildren

        protected void addChildren​(org.apache.axiom.om.OMElement element,
                                   ListEndpoint listEndpoint)
        Add children to the ListEndpoint from a configuration.
        Parameters:
        element - configuration element
        listEndpoint - Endpoint to which childEndpoints to be added
      • isRetryAvailable

        public abstract boolean isRetryAvailable()