public class EndpointStore extends Object
| Modifier and Type | Method and Description |
|---|---|
EndpointService |
getEndpointService(org.apache.axiom.om.OMElement element)
Retrieves the
EndpointService with
the given element |
EndpointService |
getEndpointService(String tagLocalName)
Retrieves the
EndpointService with
the given tagLocalName |
static EndpointStore |
getInstance()
Singleton access to the EndpointStore
|
ArrayList<String[]> |
getMenuItems()
Retrieves the menu item of endpoint types, which is being used by the UI
|
Collection<EndpointService> |
getRegisteredEndpoints()
Retrieves all the
EndpointService |
void |
registerEndpoint(String endpointTagLocalName,
EndpointService endpointService)
Registers a
EndpointService with the store |
public static EndpointStore getInstance()
public void registerEndpoint(String endpointTagLocalName, EndpointService endpointService)
EndpointService with the storeendpointTagLocalName - tag name of the endpoint being registeredendpointService - implementation of the endpoint service for
the endpoint with name endpointTagLocalNamepublic EndpointService getEndpointService(org.apache.axiom.om.OMElement element)
EndpointService with
the given elementelement - configuration of the endpoint to retrieve the endpoint servicepublic EndpointService getEndpointService(String tagLocalName)
EndpointService with
the given tagLocalNametagLocalName - tag name of the endpoint to retrieve the endpoint servicepublic Collection<EndpointService> getRegisteredEndpoints()
EndpointServiceCopyright © 2019 WSO2. All rights reserved.