T
- a service typepublic interface ServiceProviderRegistration<T> extends AutoCloseable
Modifier and Type | Interface and Description |
---|---|
static interface |
ServiceProviderRegistration.Listener
Listener for service provider changes.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Indicates that this node can no longer provide this service.
|
Set<Node> |
getProviders()
Returns the set of nodes that can provide this service.
|
T |
getService()
The provided service.
|
T getService()
Set<Node> getProviders()
void close()
close
in interface AutoCloseable
Copyright © 2016 JBoss by Red Hat. All rights reserved.