Interface DiscoveryService


  • public interface DiscoveryService
    This 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 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