Class EndpointStore


  • public class EndpointStore
    extends Object
    Keeps track of the endpoints that are registered for the Endpoint editor UI
    • Method Detail

      • getInstance

        public static EndpointStore getInstance()
        Singleton access to the EndpointStore
        Returns:
        the singleton instance
      • registerEndpoint

        public void registerEndpoint​(String endpointTagLocalName,
                                     EndpointService endpointService)
        Registers a EndpointService with the store
        Parameters:
        endpointTagLocalName - tag name of the endpoint being registered
        endpointService - implementation of the endpoint service for the endpoint with name endpointTagLocalName
      • getEndpointService

        public EndpointService getEndpointService​(org.apache.axiom.om.OMElement element)
        Retrieves the EndpointService with the given element
        Parameters:
        element - configuration of the endpoint to retrieve the endpoint service
        Returns:
        the endpoint service mapped to the given configuration
      • getEndpointService

        public EndpointService getEndpointService​(String tagLocalName)
        Retrieves the EndpointService with the given tagLocalName
        Parameters:
        tagLocalName - tag name of the endpoint to retrieve the endpoint service
        Returns:
        the endpoint service mapped to the given configuration
      • getMenuItems

        public ArrayList<String[]> getMenuItems()
        Retrieves the menu item of endpoint types, which is being used by the UI
        Returns:
        the mapped data model for the endpoint menu items