@Configuration @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) |
EnvironmentWebEndpointExtension |
environmentWebEndpointExtension(EnvironmentEndpoint environmentEndpoint) |
public EnvironmentEndpointAutoConfiguration(EnvironmentEndpointProperties properties)
@Bean @ConditionalOnMissingBean @ConditionalOnEnabledEndpoint public EnvironmentEndpoint environmentEndpoint(org.springframework.core.env.Environment environment)
@Bean @ConditionalOnMissingBean @ConditionalOnEnabledEndpoint @ConditionalOnBean(value=EnvironmentEndpoint.class) public EnvironmentWebEndpointExtension environmentWebEndpointExtension(EnvironmentEndpoint environmentEndpoint)
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.