Package | Description |
---|---|
org.eclipse.microprofile.config.spi |
This package contains classes which are used to implement the configuration API, and to extend the standard
configuration functionality in a portable way.
|
Modifier and Type | Method and Description |
---|---|
ConfigBuilder |
ConfigBuilder.addDefaultSources()
Add the default configuration sources to the
configuration being built.
|
ConfigBuilder |
ConfigBuilder.addDiscoveredConverters()
Add all configuration converters which can be discovered from this
configuration builder's class loader.
|
ConfigBuilder |
ConfigBuilder.addDiscoveredSources()
Add all configuration sources which can be discovered from this
configuration builder's class loader.
|
ConfigBuilder |
ConfigBuilder.forClassLoader(ClassLoader loader)
Specify the class loader for which this configuration is being built.
|
abstract ConfigBuilder |
ConfigProviderResolver.getBuilder()
Create a
ConfigBuilder instance for the current application. |
<T> ConfigBuilder |
ConfigBuilder.withConverter(Class<T> type,
int priority,
Converter<T> converter)
Add the specified
Converter instance for the given type to the configuration being built. |
ConfigBuilder |
ConfigBuilder.withConverters(Converter<?>... converters)
Add the specified
Converter instances to the configuration being built. |
ConfigBuilder |
ConfigBuilder.withSources(ConfigSource... sources)
Add the specified
ConfigSource instances to the configuration being built. |
Copyright © 2016 – 2021 Eclipse Foundation. All rights reserved.
Use is subject to license terms.