public class DebugAgentEnvironmentPostProcessor extends Object implements EnvironmentPostProcessor, org.springframework.core.Ordered
EnvironmentPostProcessor
to enable the Reactor Debug Agent if available.
The debug agent is enabled by default, unless the
"spring.reactor.debug-agent.enabled"
configuration property is set to false. We
are using here an EnvironmentPostProcessor
instead of an auto-configuration
class to enable the agent as soon as possible during the startup process.
Constructor and Description |
---|
DebugAgentEnvironmentPostProcessor() |
Modifier and Type | Method and Description |
---|---|
int |
getOrder() |
void |
postProcessEnvironment(org.springframework.core.env.ConfigurableEnvironment environment,
SpringApplication application)
Post-process the given
environment . |
public void postProcessEnvironment(org.springframework.core.env.ConfigurableEnvironment environment, SpringApplication application)
EnvironmentPostProcessor
environment
.postProcessEnvironment
in interface EnvironmentPostProcessor
environment
- the environment to post-processapplication
- the application to which the environment belongspublic int getOrder()
getOrder
in interface org.springframework.core.Ordered
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.