Package org.wso2.carbon.base
Interface DiscoveryService
-
public interface DiscoveryServiceThis represents an OSGi service that has WS-Discovery capabilities. A WS-Discovery implementation will add a client of this type as an OSGi service, so that it can be used to discover services.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String[]probe(QName[] types, URI[] scopes, String matchBy, int tenantId)Method to probe for services.
-
-
-
Method Detail
-
probe
String[] probe(QName[] types, URI[] scopes, String matchBy, int tenantId) throws Exception
Method to probe for services.- Parameters:
types- the port types.scopes- the scopes in which to look-up for the service.matchBy- the rule used for matching.tenantId- the identifier of the tenant.- Returns:
- a list of service endpoints
- Throws:
Exception- on error
-
-