Interface IEndpoint

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void build​(org.apache.axiom.om.OMElement elem, boolean isAnonymous)
      Populate this endpoint from the Synapse endpoint configuration.
      void build​(org.apache.synapse.endpoints.Template template, org.apache.synapse.config.xml.endpoints.DefinitionFactory factory)
      Populate this endpoint from the Synapse endpoint template configuration.
      String getTagLocalName()
      Get the tag name of the endpoint
      org.apache.axiom.om.OMElement serialize​(org.apache.axiom.om.OMElement parent)
      Serialize this endpoint in to the corresponding Synapse endpoint configuration.
    • Method Detail

      • serialize

        org.apache.axiom.om.OMElement serialize​(org.apache.axiom.om.OMElement parent)
        Serialize this endpoint in to the corresponding Synapse endpoint configuration.
        Parameters:
        parent - if present the serialize node will be added to the parent
        Returns:
        the Synapse endpoint configuration XML
      • build

        void build​(org.apache.axiom.om.OMElement elem,
                   boolean isAnonymous)
        Populate this endpoint from the Synapse endpoint configuration.
        Parameters:
        elem - synapse endpoint configuration
        isAnonymous - whether the endpoint has a name
      • build

        void build​(org.apache.synapse.endpoints.Template template,
                   org.apache.synapse.config.xml.endpoints.DefinitionFactory factory)
        Populate this endpoint from the Synapse endpoint template configuration.
        Parameters:
        template - synapse endpoint template configuration
        factory - Template definition factory
      • getTagLocalName

        String getTagLocalName()
        Get the tag name of the endpoint
        Returns:
        the xml element tag name