public class RandomValuePropertySourceEnvironmentPostProcessor extends java.lang.Object implements EnvironmentPostProcessor, org.springframework.core.Ordered
EnvironmentPostProcessor
to add the RandomValuePropertySource
.Modifier and Type | Field and Description |
---|---|
static int |
ORDER
The default order of this post-processor.
|
Constructor and Description |
---|
RandomValuePropertySourceEnvironmentPostProcessor(org.apache.commons.logging.Log logger)
Create a new
RandomValuePropertySourceEnvironmentPostProcessor instance. |
Modifier and Type | Method and Description |
---|---|
int |
getOrder() |
void |
postProcessEnvironment(org.springframework.core.env.ConfigurableEnvironment environment,
SpringApplication application)
Post-process the given
environment . |
public static final int ORDER
public RandomValuePropertySourceEnvironmentPostProcessor(org.apache.commons.logging.Log logger)
RandomValuePropertySourceEnvironmentPostProcessor
instance.logger
- the logger to usepublic int getOrder()
getOrder
in interface org.springframework.core.Ordered
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 belongs