类 SystemEnvironmentPropertySourceEnvironmentPostProcessor.OriginAwareSystemEnvironmentPropertySource

所有已实现的接口:
OriginLookup<String>
封闭类:
SystemEnvironmentPropertySourceEnvironmentPostProcessor

protected static class SystemEnvironmentPropertySourceEnvironmentPostProcessor.OriginAwareSystemEnvironmentPropertySource extends SystemEnvironmentPropertySource implements OriginLookup<String>
  • 方法详细资料

    • containsProperty

      public boolean containsProperty(String name)
      覆盖:
      containsProperty 在类中 SystemEnvironmentPropertySource
    • getProperty

      public Object getProperty(String name)
      覆盖:
      getProperty 在类中 SystemEnvironmentPropertySource
    • getOrigin

      public Origin getOrigin(String key)
      从接口复制的说明: OriginLookup
      Return the origin of the given key or null if the origin cannot be determined.
      指定者:
      getOrigin 在接口中 OriginLookup<String>
      参数:
      key - the key to lookup
      返回:
      the origin of the key or null
    • getPrefix

      public String getPrefix()
      从接口复制的说明: OriginLookup
      Return the implicit prefix that is applied when performing a lookup or null if no prefix is used. Prefixes can be used to disambiguate keys that would otherwise clash. For example, if multiple applications are running on the same machine a different prefix can be set on each application to ensure that different environment variables are used.
      指定者:
      getPrefix 在接口中 OriginLookup<String>
      返回:
      the prefix applied by the lookup class or null.