public class ExternalConfigurationProviderImpl extends Object implements ExternalConfigurationProvider
Modifier and Type | Field and Description |
---|---|
protected ExternalConfigurationModel<?> |
model |
Modifier | Constructor and Description |
---|---|
protected |
ExternalConfigurationProviderImpl(ExternalConfigurationModel<?> model) |
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
|
protected final ExternalConfigurationModel<?> model
protected ExternalConfigurationProviderImpl(ExternalConfigurationModel<?> 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-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.