Module io.helidon.service.registry
Package io.helidon.service.registry.spi
Interface ServiceRegistryManagerProvider
public interface ServiceRegistryManagerProvider
A
ServiceLoader
provider that enables a different type of service registry.
In Helidon this could be a service registry with full injection support.-
Method Summary
Modifier and TypeMethodDescriptioncreate
(ServiceRegistryConfig config, ServiceDiscovery serviceDiscovery, Supplier<ServiceRegistryManager> coreRegistryManager) Create a new registry manager.
-
Method Details
-
create
ServiceRegistryManager create(ServiceRegistryConfig config, ServiceDiscovery serviceDiscovery, Supplier<ServiceRegistryManager> coreRegistryManager) Create a new registry manager.- Parameters:
config
- configuration as provided toServiceRegistryManager
serviceDiscovery
- service discovery to load service instancescoreRegistryManager
- core service registry manager, if it would be used as a backing one for the one provided by this service (lazy loaded)- Returns:
- a new service registry manager
-