Interface ServiceProvision<T, M extends GroupMember>

Type Parameters:
T - the service type
M - the member type
All Known Subinterfaces:
ServiceProviderRegistration<T,M>

public interface ServiceProvision<T, M extends GroupMember>
Encapsulates a provisioned service.
Author:
Paul Ferraro
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns an unmodifiable set of group members currently providing this service.
    Returns the provided service.
  • Method Details

    • getService

      T getService()
      Returns the provided service.
      Returns:
      the provided service.
    • getProviders

      Set<M> getProviders()
      Returns an unmodifiable set of group members currently providing this service.
      Returns:
      an unmodifiable set of group members currently providing this service.