类 OrderedPropertiesConfiguration
- java.lang.Object
-
- org.apache.dubbo.common.config.OrderedPropertiesConfiguration
-
- 所有已实现的接口:
Configuration
public class OrderedPropertiesConfiguration extends Object implements Configuration
-
-
构造器概要
构造器 构造器 说明 OrderedPropertiesConfiguration(ModuleModel moduleModel)
-
方法概要
所有方法 实例方法 具体方法 已过时的方法 修饰符和类型 方法 说明 ObjectgetInternalProperty(String key)Map<String,String>getProperties()StringgetProperty(String key)Gets a property from the configuration.voidrefresh()Stringremove(String key)voidsetProperties(Properties properties)已过时。voidsetProperty(String key, String value)-
从接口继承的方法 org.apache.dubbo.common.config.Configuration
containsKey, convert, getBoolean, getBoolean, getBoolean, getInt, getInt, getInteger, getProperty, getString, getString
-
-
-
-
构造器详细资料
-
OrderedPropertiesConfiguration
public OrderedPropertiesConfiguration(ModuleModel moduleModel)
-
-
方法详细资料
-
refresh
public void refresh()
-
getProperty
public String getProperty(String key)
从接口复制的说明: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).- 指定者:
getProperty在接口中Configuration- 参数:
key- property to retrieve- 返回:
- the value to which this configuration maps the specified key, or null if the configuration contains no mapping for this key.
-
getInternalProperty
public Object getInternalProperty(String key)
- 指定者:
getInternalProperty在接口中Configuration
-
setProperties
@Deprecated public void setProperties(Properties properties)
已过时。For ut only
-
-