Modifier and Type | Method and Description |
---|---|
Group |
getGroup()
Returns the group with which to register service providers.
|
Set<Node> |
getProviders(T service)
Returns the set of nodes that can provide the specified service.
|
Set<T> |
getServices()
Returns the complete list of services known to this registry.
|
ServiceProviderRegistration<T> |
register(T service)
Registers the local node as providing the specified service.
|
ServiceProviderRegistration<T> |
register(T service,
ServiceProviderRegistration.Listener listener)
Registers the local node as providing the specified service, using the specified listener.
|
Group getGroup()
ServiceProviderRegistration<T> register(T service)
ServiceProviderRegistration<T> register(T service, ServiceProviderRegistration.Listener listener)
service
- a service to registerlistener
- a registry listenerSet<Node> getProviders(T service)
service
- a service to obtain providers forCopyright © 2018 JBoss by Red Hat. All rights reserved.