Interface ServiceProviderRegistration<T,M extends GroupMember>

Type Parameters:
T - the service type
M - the member type
All Superinterfaces:
AutoCloseable, Registration
All Known Implementing Classes:
DefaultServiceProviderRegistration

public interface ServiceProviderRegistration<T,M extends GroupMember> extends Registration
Registration of a provided service.
Author:
Paul Ferraro
  • Field Summary

    Fields inherited from interface org.wildfly.clustering.server.Registration

    EMPTY
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the set of group members that can provide this service.
    The provided service.

    Methods inherited from interface org.wildfly.clustering.server.Registration

    close
  • Method Details

    • getService

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

      Set<M> getProviders()
      Returns the set of group members that can provide this service.
      Returns:
      a set of group members