Uses of Interface
io.helidon.common.config.Config
Packages that use Config
Package
Description
Provides the minimal set of types for immutable, tree-structured configuration access.
SPI to load an implementation to be able to discover the default configuration of current environment.
-
Uses of Config in io.helidon.common.config
Methods in io.helidon.common.config with type parameters of type ConfigModifier and TypeMethodDescription<C extends Config>
ConfigValue<List<C>> Config.asNodeList()Returns a list of childConfignodes if the node isType#OBJECT.Methods in io.helidon.common.config that return ConfigModifier and TypeMethodDescriptionstatic ConfigGlobalConfig.config()Deprecated, for removal: This API element is subject to removal in a future version.static ConfigDeprecated, for removal: This API element is subject to removal in a future version.useServices.set(Class, Object[])insteadstatic ConfigDeprecated, for removal: This API element is subject to removal in a future version.useServices.get(Class)insteadstatic ConfigConfig.create()Create a new instance of configuration from the default configuration sources.Config.detach()Returns a copy of theConfignode with no parent.static ConfigConfig.empty()Empty instance ofConfig.default ConfigConfig.get(Config.Key key) Returns the single sub-node for the specified sub-key.Returns the single sub-node for the specified sub-key.Config.root()Get the root of the configuration tree.Methods in io.helidon.common.config that return types with arguments of type ConfigModifier and TypeMethodDescriptiondefault ConfigValue<? extends Config> Config.asNode()Returns existing current config node asConfigValue.Methods in io.helidon.common.config with parameters of type ConfigModifier and TypeMethodDescriptionUpdate builder from configuration.Create a new instance from the configuration located on the provided node.static <S extends NamedService,T extends ConfiguredProvider<S>>
Optional<S> ConfigBuilderSupport.discoverService(Config config, String configKey, HelidonServiceLoader<T> serviceLoader, Class<T> providerType, Class<S> configType, boolean allFromServiceLoader, Optional<S> existingValue) Discover service from configuration.static <T extends NamedService>
Optional<T> ConfigBuilderSupport.discoverService(Config config, String configKey, Optional<io.helidon.service.registry.ServiceRegistry> serviceRegistry, Class<? extends ConfiguredProvider<T>> providerType, Class<T> configType, boolean discoverServices, Optional<T> existingValue) Used to discover service fromServiceRegistryfor builder options annotated withOption.Provider, if the blueprint is annotated withPrototype.RegistrySupport.static <S extends NamedService,T extends ConfiguredProvider<S>>
List<S> ConfigBuilderSupport.discoverServices(Config config, String configKey, HelidonServiceLoader<T> serviceLoader, Class<T> providerType, Class<S> configType, boolean allFromServiceLoader, List<S> existingInstances) Discover services from configuration.static <T extends NamedService>
List<T> ConfigBuilderSupport.discoverServices(Config config, String configKey, Optional<io.helidon.service.registry.ServiceRegistry> serviceRegistry, Class<? extends ConfiguredProvider<T>> providerType, Class<T> configType, boolean allFromRegistry, List<T> existingValues) Used to discover services fromServiceRegistryfor builder options annotated withOption.Provider, if the blueprint is annotated withPrototype.RegistrySupport.Method parameters in io.helidon.common.config with type arguments of type ConfigModifier and TypeMethodDescriptionstatic ConfigDeprecated, for removal: This API element is subject to removal in a future version.useServices.set(Class, Object[])insteadstatic ConfigDeprecated, for removal: This API element is subject to removal in a future version.useServices.get(Class)instead<T> ConfigValue<T> Typed value as aConfigValuecreated from factory method.<T> ConfigValue<List<T>> Returns this node as a list mapping each list value using the provided mapper. -
Uses of Config in io.helidon.common.config.spi
Methods in io.helidon.common.config.spi that return Config
Services.get(Class)instead