public interface ConfigSourceProvider
Implementations of this interface may supply zero or more configuration source instances
for a given application (as defined by the application's
Instances of this interface will be discovered via the
ServiceLoader mechanism and can be registered by providing a
resource which contains the fully qualified class name of the custom
|Modifier and Type||Method and Description|
Iterable<ConfigSource> getConfigSources(ClassLoader forClassLoader)
ConfigSourceinstances that are provided by this provider. The
Iterablecontains a fixed number of configuration sources, determined at application start time, and the config sources themselves may be static or dynamic. An empty
Iterablemay be returned if no sources are to be provided.
forClassLoader- the class loader which should be used for discovery and resource loading purposes
ConfigSourceinstances to register to the configuration
Copyright © 2016 – 2021 Eclipse Foundation. All rights reserved.
Use is subject to license terms.