Package org.springframework.cloud.bus
Class BusEnvironmentPostProcessor
java.lang.Object
org.springframework.cloud.bus.BusEnvironmentPostProcessor
- All Implemented Interfaces:
org.springframework.boot.env.EnvironmentPostProcessor
public class BusEnvironmentPostProcessor
extends Object
implements org.springframework.boot.env.EnvironmentPostProcessor
EnvironmentPostProcessor
that sets the default properties for the Bus.- Since:
- 1.0.0
- Author:
- Dave Syer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
addOrReplace
(org.springframework.core.env.MutablePropertySources propertySources, Map<String, Object> map, String propertySourceName, boolean first) void
postProcessEnvironment
(org.springframework.core.env.ConfigurableEnvironment environment, org.springframework.boot.SpringApplication application)
-
Constructor Details
-
BusEnvironmentPostProcessor
public BusEnvironmentPostProcessor()
-
-
Method Details
-
postProcessEnvironment
public void postProcessEnvironment(org.springframework.core.env.ConfigurableEnvironment environment, org.springframework.boot.SpringApplication application) - Specified by:
postProcessEnvironment
in interfaceorg.springframework.boot.env.EnvironmentPostProcessor
-
addOrReplace
-