public class DebugAgentEnvironmentPostProcessor extends Object implements EnvironmentPostProcessor, 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.
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Constructor and Description |
|---|
DebugAgentEnvironmentPostProcessor() |
| Modifier and Type | Method and Description |
|---|---|
int |
getOrder() |
void |
postProcessEnvironment(ConfigurableEnvironment environment,
SpringApplication application)
Post-process the given
environment. |
public void postProcessEnvironment(ConfigurableEnvironment environment, SpringApplication application)
EnvironmentPostProcessorenvironment.postProcessEnvironment in interface EnvironmentPostProcessorenvironment - the environment to post-processapplication - the application to which the environment belongs