public interface ServiceRegistrarFactory
ServiceRegistrar instances, and the entry point for service registrar
plugins. ServiceRegistrarLoader loads plugins by using ServiceLoader
to
look up ServiceRegistrarFactory from jar files and class loaders.| Modifier and Type | Method and Description |
|---|---|
ServiceRegistrar |
create(String address)
Create a service registrar connected to a registry at a specific address.
|
ServiceRegistrar |
createForDomain(String domain)
Create a service registrar connected to a registry managing a specific domain.
|
ServiceRegistrar create(String address)
address - The address of the registry the registrar should connect to.ServiceRegistrar createForDomain(String domain)
domain - The domain that the registry should be managing.Copyright © 2015. All rights reserved.