Interface ServiceProviderRegistration<T>

  • Type Parameters:
    T - a service type
    All Superinterfaces:
    AutoCloseable, Registration

    public interface ServiceProviderRegistration<T>
    extends Registration
    Registration of a provided service.
    Author:
    Paul Ferraro
    • Method Detail

      • getService

        T getService()
        The provided service.
        Returns:
        a service identifier
      • getProviders

        Set<Node> getProviders()
        Returns the set of nodes that can provide this service.
        Returns:
        a set of nodes