@Configuration(proxyBeanMethods=false) @ConditionalOnAvailableEndpoint(endpoint=EnvironmentEndpoint.class) @EnableConfigurationProperties(value=EnvironmentEndpointProperties.class) public class EnvironmentEndpointAutoConfiguration extends Object
Auto-configuration
for the EnvironmentEndpoint
.Constructor and Description |
---|
EnvironmentEndpointAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
EnvironmentEndpoint |
environmentEndpoint(Environment environment,
EnvironmentEndpointProperties properties,
ObjectProvider<SanitizingFunction> sanitizingFunctions) |
EnvironmentEndpointWebExtension |
environmentEndpointWebExtension(EnvironmentEndpoint environmentEndpoint) |
public EnvironmentEndpointAutoConfiguration()
@Bean @ConditionalOnMissingBean public EnvironmentEndpoint environmentEndpoint(Environment environment, EnvironmentEndpointProperties properties, ObjectProvider<SanitizingFunction> sanitizingFunctions)
@Bean @ConditionalOnMissingBean @ConditionalOnBean(value=EnvironmentEndpoint.class) @ConditionalOnAvailableEndpoint(exposure={WEB,CLOUD_FOUNDRY}) public EnvironmentEndpointWebExtension environmentEndpointWebExtension(EnvironmentEndpoint environmentEndpoint)