public class PropertiesLocationConfigSourceFactory extends AbstractLocationConfigSourceFactory
| Constructor and Description |
|---|
PropertiesLocationConfigSourceFactory() |
| Modifier and Type | Method and Description |
|---|---|
Iterable<org.eclipse.microprofile.config.spi.ConfigSource> |
getConfigSources(ConfigSourceContext context) |
String[] |
getFileExtensions()
The file extensions to filter the locations to load.
|
protected org.eclipse.microprofile.config.spi.ConfigSource |
loadConfigSource(URL url,
int ordinal)
Loads a
ConfigSource from an URL. |
fallbackToUnknownProtocol, loadConfigSources, loadConfigSources, loadConfigSources, loadConfigSources, tryClassPath, tryFileSystem, tryHttpResource, tryJar, tryProfilesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPrioritypublic PropertiesLocationConfigSourceFactory()
public String[] getFileExtensions()
AbstractLocationConfigSourceLoadergetFileExtensions in class AbstractLocationConfigSourceLoaderpublic Iterable<org.eclipse.microprofile.config.spi.ConfigSource> getConfigSources(ConfigSourceContext context)
getConfigSources in interface ConfigSourceFactorygetConfigSources in class AbstractLocationConfigSourceFactoryprotected org.eclipse.microprofile.config.spi.ConfigSource loadConfigSource(URL url, int ordinal) throws IOException
AbstractLocationConfigSourceLoaderloadConfigSource in class AbstractLocationConfigSourceLoaderurl - the URL to load the ConfigSource.ordinal - the ordinal of the ConfigSource.ConfigSource.IOException - if an error occurred when reading from the the URL.Copyright © 2018–2021. All rights reserved.