public class PropertyProviderChain extends Object implements IPropertyProvider
IPropertyProvider that checks multiple providers sequentially| Constructor and Description |
|---|
PropertyProviderChain() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
loadProperties() |
PropertyProviderChain |
withProvider(Class<? extends IPropertyProvider> providerClass) |
PropertyProviderChain |
withProvider(IPropertyProvider provider) |
PropertyProviderChain |
withProvider(String providerClass) |
public PropertyProviderChain withProvider(IPropertyProvider provider)
public PropertyProviderChain withProvider(Class<? extends IPropertyProvider> providerClass) throws IllegalAccessException, InstantiationException
public PropertyProviderChain withProvider(String providerClass) throws ClassNotFoundException, InstantiationException, IllegalAccessException
public Map<String,String> loadProperties()
loadProperties in interface IPropertyProviderCopyright © 2015–2018 Taimos GmbH. All rights reserved.