Package org.apache.dubbo.common.config
Class OrderedPropertiesConfiguration
java.lang.Object
org.apache.dubbo.common.config.OrderedPropertiesConfiguration
- All Implemented Interfaces:
Configuration
-
Field Summary
Fields inherited from interface org.apache.dubbo.common.config.Configuration
interfaceLevelLogger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetProperty(String key) Gets a property from the configuration.voidrefresh()voidsetProperties(Properties properties) Deprecated.voidsetProperty(String key, String value) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.dubbo.common.config.Configuration
containsKey, convert, getBoolean, getBoolean, getBoolean, getInt, getInt, getInteger, getProperty, getString, getString
-
Constructor Details
-
OrderedPropertiesConfiguration
-
-
Method Details
-
refresh
public void refresh() -
getProperty
Description copied from interface:ConfigurationGets a property from the configuration. This is the most basic get method for retrieving values of properties. In a typical implementation of theConfigurationinterface the other get methods (that return specific data types) will internally make use of this method. On this level variable substitution is not yet performed. The returned object is an internal representation of the property value for the passed in key. It is owned by theConfigurationobject. So a caller should not modify this object. It cannot be guaranteed that this object will stay constant over time (i.e. further update operations on the configuration may change its internal state).- Specified by:
getPropertyin interfaceConfiguration- Parameters:
key- property to retrieve- Returns:
- the value to which this configuration maps the specified key, or null if the configuration contains no mapping for this key.
-
getInternalProperty
- Specified by:
getInternalPropertyin interfaceConfiguration
-
setProperty
-
remove
-
setProperties
Deprecated.For ut only -
getProperties
-