Interface IExternalRequiredServicesFeature

    • Method Detail

      • searchService

        <T> IFuture<T> searchService​(ServiceQuery<T> query)
        Search for matching services and provide first result.
        Parameters:
        query - The search query.
        Returns:
        Future providing the corresponding service or ServiceNotFoundException when not found.
      • searchServices

        <T> ITerminableIntermediateFuture<T> searchServices​(ServiceQuery<T> query)
        Search for all matching services.
        Parameters:
        query - The search query.
        Returns:
        Each service as an intermediate result or a collection of services as final result.
      • addQuery

        <T> ISubscriptionIntermediateFuture<T> addQuery​(ServiceQuery<T> query)
        Add a service query. Continuously searches for matching services. Use query setEventMode to retrieve also removals.
        Parameters:
        query - The search query.
        Returns:
        Future providing the corresponding services as intermediate results.