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()Deprecated, for removal: This API element is subject to removal in a future version.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.set(Class, Object[])insteadstatic ConfigConfig.create()Deprecated, for removal: This API element is subject to removal in a future version.Create a new instance of configuration from the default configuration sources.Config.detach()Deprecated, for removal: This API element is subject to removal in a future version.Returns a copy of theConfignode with no parent.static ConfigConfig.empty()Deprecated, for removal: This API element is subject to removal in a future version.Empty instance ofConfig.default ConfigConfig.get(Config.Key key) Deprecated, for removal: This API element is subject to removal in a future version.Returns the single sub-node for the specified sub-key.Deprecated, for removal: This API element is subject to removal in a future version.Returns the single sub-node for the specified sub-key.Config.root()Deprecated, for removal: This API element is subject to removal in a future version.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()Deprecated, for removal: This API element is subject to removal in a future version.Returns existing current config node asConfigValue.Config.traverse()Deprecated, for removal: This API element is subject to removal in a future version.Iterative deepening depth-first traversal of the node and its subtree as aStream<Config>.Methods in io.helidon.common.config with parameters of type ConfigModifier and TypeMethodDescriptionUpdate builder from configuration.static voidDeprecated, for removal: This API element is subject to removal in a future version.Deprecated.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) Deprecated, for removal: This API element is subject to removal in a future version.static <S extends NamedService,T extends ConfiguredProvider<S>>
Optional<S> ConfigBuilderSupport.discoverService(Config config, String configKey, Class<T> providerType, Class<S> configType, boolean allFromServiceLoader, Optional<S> existingValue) Deprecated, for removal: This API element is subject to removal in a future version.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) Deprecated, for removal: This API element is subject to removal in a future version.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) Deprecated, for removal: This API element is subject to removal in a future version.static <S extends NamedService,T extends ConfiguredProvider<S>>
List<S> ConfigBuilderSupport.discoverServices(Config config, String configKey, Class<T> providerType, Class<S> configType, boolean allFromServiceLoader, List<S> existingInstances) Deprecated, for removal: This API element is subject to removal in a future version.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) Deprecated, for removal: This API element is subject to removal in a future version.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.set(Class, Object[])instead<T> ConfigValue<T> Deprecated, for removal: This API element is subject to removal in a future version.Typed value as aConfigValuecreated from factory method.<T> ConfigValue<List<T>> Deprecated, for removal: This API element is subject to removal in a future version.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