Class SystemPropertyConfigSource
java.lang.Object
com.alipay.sofa.common.config.source.AbstractConfigSource
com.alipay.sofa.common.config.source.SystemPropertyConfigSource
- All Implemented Interfaces:
ConfigSource
,Ordered
- Version:
- : SystemPropertyConfigSource.java, v 0.1 2020年10月21日 2:39 下午 zhaowang Exp $
- Author:
- zhaowang
-
Field Summary
Fields inherited from interface com.alipay.sofa.common.utils.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
-
Method Summary
Methods inherited from class com.alipay.sofa.common.config.source.AbstractConfigSource
changeValueType, getConfig, getEffectiveKey, getStringConfig
-
Constructor Details
-
SystemPropertyConfigSource
public SystemPropertyConfigSource()
-
-
Method Details
-
doGetConfig
- Specified by:
doGetConfig
in classAbstractConfigSource
-
hasKey
- Specified by:
hasKey
in classAbstractConfigSource
-
getOrder
public int getOrder()Description copied from interface:Ordered
Get the order value of this object.Higher values are interpreted as lower priority. As a consequence, the object with the lowest value has the highest priority (somewhat analogous to Servlet
load-on-startup
values).Same order values will result in arbitrary sort positions for the affected objects.
- Returns:
- the order value
- See Also:
-
getName
- Returns:
- The name of ConfigSource
-