Interface ServiceProviderRegistration<T,M extends GroupMember>
- Type Parameters:
T- the service typeM- the member type
- All Superinterfaces:
AutoCloseable,Registration
- All Known Implementing Classes:
DefaultServiceProviderRegistration
Registration of a provided service.
- Author:
- Paul Ferraro
-
Field Summary
Fields inherited from interface org.wildfly.clustering.server.Registration
EMPTY -
Method Summary
Modifier and TypeMethodDescriptionReturns 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
Returns the set of group members that can provide this service.- Returns:
- a set of group members
-