public class ConfigurationProvider extends Object implements ExternalConfigurationProvider
Constructor and Description |
---|
ConfigurationProvider() |
Modifier and Type | Method and Description |
---|---|
ExternalConfigurationModel |
getConfiguration()
obrain model object which has direct access to external configuration
|
Map<String,Object> |
getProperties()
Map of properties from the model (external config file)
|
ExternalConfigurationModel |
merge(ExternalConfigurationModel input)
Merge properties from other provider/model
|
public Map<String,Object> getProperties()
ExternalConfigurationProvider
getProperties
in interface ExternalConfigurationProvider
public ExternalConfigurationModel getConfiguration()
ExternalConfigurationProvider
getConfiguration
in interface ExternalConfigurationProvider
public ExternalConfigurationModel merge(ExternalConfigurationModel input)
ExternalConfigurationProvider
merge
in interface ExternalConfigurationProvider
input
- those properties will be merged into oursCopyright © 2007-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.