public class PropertiesConfigSourceProvider extends Object implements ConfigSourceProvider
| Constructor and Description |
|---|
PropertiesConfigSourceProvider(String propertyFileName,
boolean optional,
ClassLoader classLoader) |
| Modifier and Type | Method and Description |
|---|---|
List<ConfigSource> |
getConfigSources(ClassLoader forClassLoader)
Return the collection of
ConfigSources. |
public PropertiesConfigSourceProvider(String propertyFileName, boolean optional, ClassLoader classLoader)
public List<ConfigSource> getConfigSources(ClassLoader forClassLoader)
ConfigSourceProviderConfigSources.
For each e.g. property file, we return a single ConfigSource or an empty list if no ConfigSource exists.getConfigSources in interface ConfigSourceProviderforClassLoader - the classloader which should be used if any is neededConfigSources to register within the Config.Copyright © 2019 JBoss by Red Hat. All rights reserved.