public abstract class AbstractServiceProviderRegistration<T> extends Object implements ServiceProviderRegistration<T>
ServiceProviderRegistration
implementation that delegates
getProviders()
back to the factory.ServiceProviderRegistration.Listener
Constructor and Description |
---|
AbstractServiceProviderRegistration(T service,
ServiceProviderRegistry<T> registry) |
Modifier and Type | Method and Description |
---|---|
Set<Node> |
getProviders()
Returns the set of nodes that can provide this service.
|
T |
getService()
The provided service.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close
public AbstractServiceProviderRegistration(T service, ServiceProviderRegistry<T> registry)
public T getService()
ServiceProviderRegistration
getService
in interface ServiceProviderRegistration<T>
public Set<Node> getProviders()
ServiceProviderRegistration
getProviders
in interface ServiceProviderRegistration<T>
Copyright © 2018 JBoss by Red Hat. All rights reserved.