Module io.helidon.service.registry
Package io.helidon.service.registry
Class ServiceRegistryConfig.Builder
java.lang.Object
io.helidon.service.registry.ServiceRegistryConfig.BuilderBase<ServiceRegistryConfig.Builder,ServiceRegistryConfig>
io.helidon.service.registry.ServiceRegistryConfig.Builder
- All Implemented Interfaces:
Prototype.Builder<ServiceRegistryConfig.Builder,
,ServiceRegistryConfig> Prototype.ConfiguredBuilder<ServiceRegistryConfig.Builder,
,ServiceRegistryConfig> Builder<ServiceRegistryConfig.Builder,
,ServiceRegistryConfig> Supplier<ServiceRegistryConfig>
- Enclosing interface:
ServiceRegistryConfig
public static class ServiceRegistryConfig.Builder
extends ServiceRegistryConfig.BuilderBase<ServiceRegistryConfig.Builder,ServiceRegistryConfig>
implements Builder<ServiceRegistryConfig.Builder,ServiceRegistryConfig>
Fluent API builder for
ServiceRegistryConfig
.-
Nested Class Summary
Nested classes/interfaces inherited from class io.helidon.service.registry.ServiceRegistryConfig.BuilderBase
ServiceRegistryConfig.BuilderBase.ServiceRegistryConfigImpl
-
Method Summary
Methods inherited from class io.helidon.service.registry.ServiceRegistryConfig.BuilderBase
addServiceDescriptor, addServiceDescriptors, addServiceInstances, config, config, discoverServices, discoverServices, discoverServicesFromServiceLoader, discoverServicesFromServiceLoader, from, from, preBuildPrototype, putContractInstance, putContractInstance, putServiceInstance, serviceDescriptors, serviceDescriptors, serviceInstances, serviceInstances, toString, validatePrototype
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.helidon.builder.api.Prototype.Builder
self
Methods inherited from interface io.helidon.builder.api.Prototype.ConfiguredBuilder
discoverService, discoverServices
-
Method Details
-
buildPrototype
Description copied from interface:Prototype.Builder
Create an instance of thePrototype
. This method is available on all generated builders forPrototype.Blueprint
.- Specified by:
buildPrototype
in interfacePrototype.Builder<ServiceRegistryConfig.Builder,
ServiceRegistryConfig> - Returns:
- an instance of the setup object created from this builder
-
build
Description copied from interface:Builder
Build the instance from this builder.- Specified by:
build
in interfaceBuilder<ServiceRegistryConfig.Builder,
ServiceRegistryConfig> - Returns:
- instance of the built type
-