Class EndpointStore
java.lang.Object
org.wso2.carbon.endpoint.ui.endpoints.EndpointStore
Keeps track of the endpoints that are registered for the Endpoint editor UI
-
Method Summary
Modifier and TypeMethodDescriptiongetEndpointService(String tagLocalName) Retrieves theEndpointServicewith the giventagLocalNamegetEndpointService(org.apache.axiom.om.OMElement element) Retrieves theEndpointServicewith the givenelementstatic EndpointStoreSingleton access to the EndpointStoreRetrieves the menu item of endpoint types, which is being used by the UIRetrieves all theEndpointServicevoidregisterEndpoint(String endpointTagLocalName, EndpointService endpointService) Registers aEndpointServicewith the store
-
Method Details
-
getInstance
Singleton access to the EndpointStore- Returns:
- the singleton instance
-
registerEndpoint
Registers aEndpointServicewith the store- Parameters:
endpointTagLocalName- tag name of the endpoint being registeredendpointService- implementation of the endpoint service for the endpoint with nameendpointTagLocalName
-
getEndpointService
Retrieves theEndpointServicewith the givenelement- Parameters:
element- configuration of the endpoint to retrieve the endpoint service- Returns:
- the endpoint service mapped to the given configuration
-
getEndpointService
Retrieves theEndpointServicewith the giventagLocalName- Parameters:
tagLocalName- tag name of the endpoint to retrieve the endpoint service- Returns:
- the endpoint service mapped to the given configuration
-
getRegisteredEndpoints
Retrieves all theEndpointService- Returns:
- all endpoint services registered in the store
-
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
-