public interface ServiceProviderRegistrationFactory
Modifier and Type | Method and Description |
---|---|
ServiceProviderRegistration |
createRegistration(Object service,
ServiceProviderRegistration.Listener listener)
Registers the local node as providing the specified service, using the specified listener.
|
Group |
getGroup()
Returns the group with which to register service providers.
|
Set<Node> |
getProviders(Object service)
Returns the set of nodes that provide the specified service.
|
Group getGroup()
ServiceProviderRegistration createRegistration(Object service, ServiceProviderRegistration.Listener listener)
service
- a service to registerlistener
- a registry listenerCopyright © 2014 JBoss by Red Hat. All rights reserved.