@Component public class CfEnvironmentPostProcessor extends Object implements CfServiceEnablingEnvironmentPostProcessor, org.springframework.core.Ordered, org.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent>
CfEnvProcessor implementations to contribute
Spring Boot properties for bound Cloud Foundry Services.
Implementation of CfEnvProcessorshould be registered using the
resources/META-INF/spring.factories property file.| Constructor and Description |
|---|
CfEnvironmentPostProcessor() |
| Modifier and Type | Method and Description |
|---|---|
int |
getOrder() |
protected void |
increaseInvocationCount()
EnvironmentPostProcessors can end up getting called twice due to spring-cloud-commons
functionality
|
void |
onApplicationEvent(org.springframework.context.ApplicationEvent event) |
void |
postProcessEnvironment(org.springframework.core.env.ConfigurableEnvironment environment,
org.springframework.boot.SpringApplication application) |
void |
setOrder(int order) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisEnabledpublic int getOrder()
getOrder in interface org.springframework.core.Orderedpublic void setOrder(int order)
public void postProcessEnvironment(org.springframework.core.env.ConfigurableEnvironment environment,
org.springframework.boot.SpringApplication application)
postProcessEnvironment in interface org.springframework.boot.env.EnvironmentPostProcessorpublic void onApplicationEvent(org.springframework.context.ApplicationEvent event)
onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent>protected void increaseInvocationCount()
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.