@Configuration @ConditionalOnEnabledEndpoint(endpoint=EnvironmentEndpoint.class) @EnableConfigurationProperties(value=EnvironmentEndpointProperties.class) public class EnvironmentEndpointAutoConfiguration extends Object
Auto-configuration
for the EnvironmentEndpoint
.Constructor and Description |
---|
EnvironmentEndpointAutoConfiguration(EnvironmentEndpointProperties properties) |
Modifier and Type | Method and Description |
---|---|
EnvironmentEndpoint |
environmentEndpoint(org.springframework.core.env.Environment environment) |
EnvironmentEndpointWebExtension |
environmentEndpointWebExtension(EnvironmentEndpoint environmentEndpoint) |
public EnvironmentEndpointAutoConfiguration(EnvironmentEndpointProperties properties)
@Bean @ConditionalOnMissingBean public EnvironmentEndpoint environmentEndpoint(org.springframework.core.env.Environment environment)
@Bean @ConditionalOnMissingBean @ConditionalOnBean(value=EnvironmentEndpoint.class) public EnvironmentEndpointWebExtension environmentEndpointWebExtension(EnvironmentEndpoint environmentEndpoint)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.