Package org.wildfly.clustering.provider
Interface ServiceProviderRegistry<T>
- Type Parameters:
T- a service type
- All Superinterfaces:
Registrar<T>
Deprecated, for removal: This API element is subject to removal in a future version.
A distributed registry of service providers.
Allows capability to query which nodes can provide a given service.
- Author:
- Paul Ferraro
-
Method Summary
Modifier and TypeMethodDescriptiongetGroup()Deprecated, for removal: This API element is subject to removal in a future version.Returns the group with which to register service providers.getProviders(T service) Deprecated, for removal: This API element is subject to removal in a future version.Returns the set of nodes that can provide the specified service.Deprecated, for removal: This API element is subject to removal in a future version.Returns the complete list of services known to this registry.Deprecated, for removal: This API element is subject to removal in a future version.Registers the local node as providing the specified service.register(T service, ServiceProviderRegistration.Listener listener) Deprecated, for removal: This API element is subject to removal in a future version.Registers the local node as providing the specified service, using the specified listener.
-
Method Details
-
getGroup
Group getGroup()Deprecated, for removal: This API element is subject to removal in a future version.Returns the group with which to register service providers.- Returns:
- a group
-
register
Deprecated, for removal: This API element is subject to removal in a future version.Registers the local node as providing the specified service. -
register
Deprecated, for removal: This API element is subject to removal in a future version.Registers the local node as providing the specified service, using the specified listener.- Parameters:
service- a service to registerlistener- a registry listener- Returns:
- a new service provider registration
-
getProviders
Deprecated, for removal: This API element is subject to removal in a future version.Returns the set of nodes that can provide the specified service.- Parameters:
service- a service to obtain providers for- Returns:
- a set of nodes
-
getServices
Deprecated, for removal: This API element is subject to removal in a future version.Returns the complete list of services known to this registry.- Returns:
- a set of services
-
org.wildfly.clustering.server.provider.ServiceProviderRegistry.