类 SystemEnvironmentPropertySourceEnvironmentPostProcessor
java.lang.Object
org.springframework.boot.env.SystemEnvironmentPropertySourceEnvironmentPostProcessor
- 所有已实现的接口:
EnvironmentPostProcessor
,Ordered
public class SystemEnvironmentPropertySourceEnvironmentPostProcessor
extends Object
implements EnvironmentPostProcessor, Ordered
An
EnvironmentPostProcessor
that replaces the systemEnvironment
SystemEnvironmentPropertySource
with an
SystemEnvironmentPropertySourceEnvironmentPostProcessor.OriginAwareSystemEnvironmentPropertySource
that can track the
SystemEnvironmentOrigin
for every system environment property.- 从以下版本开始:
- 2.0.0
- 作者:
- Madhura Bhave
-
嵌套类概要
嵌套类 -
字段概要
字段从接口继承的字段 org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明int
getOrder()
void
postProcessEnvironment
(ConfigurableEnvironment environment, SpringApplication application) Post-process the givenenvironment
.void
setOrder
(int order)
-
字段详细资料
-
DEFAULT_ORDER
public static final int DEFAULT_ORDERThe default order for the processor.- 另请参阅:
-
-
构造器详细资料
-
SystemEnvironmentPropertySourceEnvironmentPostProcessor
public SystemEnvironmentPropertySourceEnvironmentPostProcessor()
-
-
方法详细资料
-
postProcessEnvironment
public void postProcessEnvironment(ConfigurableEnvironment environment, SpringApplication application) 从接口复制的说明:EnvironmentPostProcessor
Post-process the givenenvironment
.- 指定者:
postProcessEnvironment
在接口中EnvironmentPostProcessor
- 参数:
environment
- the environment to post-processapplication
- the application to which the environment belongs
-
getOrder
public int getOrder() -
setOrder
public void setOrder(int order)
-