add javadoc to DependencyEnvironmentPostProcessor

This commit is contained in:
Spencer Gibb
2015-08-19 15:17:36 -06:00
parent 8c9f45f700
commit ecbd339a40

View File

@@ -28,6 +28,10 @@ import org.springframework.core.env.MapPropertySource;
import org.springframework.util.StringUtils;
/**
* EnvironmentPostProcessor that sets spring.application.name.
* Specifically, if spring.application.name doesn't contain a / and
* spring.cloud.zookeeper.prefix has text, it sets spring.application.name
* to /${spring.cloud.zookeeper.prefix}/${spring.application.name}
* @author Spencer Gibb
*/
public class DependencyEnvironmentPostProcessor implements