Class ExternalConfigurationProviderImpl
java.lang.Object
org.glassfish.jersey.internal.config.ExternalConfigurationProviderImpl
- All Implemented Interfaces:
ExternalConfigurationProvider
- Direct Known Subclasses:
ConfigurationProvider
public class ExternalConfigurationProviderImpl
extends Object
implements ExternalConfigurationProvider
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
-
Method Summary
Modifier and TypeMethodDescriptionobrain model object which has direct access to external configurationMap of properties from the model (external config file)merge
(ExternalConfigurationModel input) Merge properties from other provider/model
-
Field Details
-
model
-
-
Constructor Details
-
ExternalConfigurationProviderImpl
-
-
Method Details
-
getProperties
Description copied from interface:ExternalConfigurationProvider
Map of properties from the model (external config file)- Specified by:
getProperties
in interfaceExternalConfigurationProvider
- Returns:
- Map of properties loaded by a model from config file
-
getConfiguration
Description copied from interface:ExternalConfigurationProvider
obrain model object which has direct access to external configuration- Specified by:
getConfiguration
in interfaceExternalConfigurationProvider
- Returns:
- model of external properties
-
merge
Description copied from interface:ExternalConfigurationProvider
Merge properties from other provider/model- Specified by:
merge
in interfaceExternalConfigurationProvider
- Parameters:
input
- those properties will be merged into ours- Returns:
- current instance of provider
-