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, waitclosepublic AbstractServiceProviderRegistration(T service, ServiceProviderRegistry<T> registry)
public T getService()
ServiceProviderRegistrationgetService in interface ServiceProviderRegistration<T>public Set<Node> getProviders()
ServiceProviderRegistrationgetProviders in interface ServiceProviderRegistration<T>Copyright © 2022 JBoss by Red Hat. All rights reserved.