Class SystemEnvConfigSource

java.lang.Object
com.alipay.sofa.common.config.source.AbstractConfigSource
com.alipay.sofa.common.config.source.SystemEnvConfigSource
All Implemented Interfaces:
ConfigSource, Ordered

public class SystemEnvConfigSource extends AbstractConfigSource
Version:
: SystemEnvConfigSource.java, v 0.1 2020年12月01日 1:42 下午 zhaowang Exp $
Author:
zhaowang
  • Constructor Details

    • SystemEnvConfigSource

      public SystemEnvConfigSource()
  • Method Details

    • doGetConfig

      public String doGetConfig(String key)
      Specified by:
      doGetConfig in class AbstractConfigSource
    • hasKey

      public boolean hasKey(String key)
      Specified by:
      hasKey in class AbstractConfigSource
    • getName

      public String getName()
      Returns:
      The name of ConfigSource
    • 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: