public interface RegistryProvider
| Modifier and Type | Field and Description |
|---|---|
static RegistryProvider |
EMPTY
A registry provider which ignores all registrations.
|
| Modifier and Type | Method and Description |
|---|---|
ServiceRegistration |
registerService(ServiceURL serviceURL)
Register a service with this provider.
|
default ServiceRegistration |
registerServices(ServiceURL... serviceURLs)
Register multiple services with this provider at once.
|
static final RegistryProvider EMPTY
ServiceRegistration registerService(ServiceURL serviceURL)
serviceURL - the service to register (not null)null)default ServiceRegistration registerServices(ServiceURL... serviceURLs)
The default implementation calls registerService(ServiceURL) for each service in the array and
returns an aggregated handle.
serviceURLs - the services to register (not null, will not contain null elements)null)Copyright © 2017 JBoss by Red Hat. All rights reserved.