Class EnvironmentEndpointAutoConfiguration
java.lang.Object
org.springframework.boot.actuate.autoconfigure.env.EnvironmentEndpointAutoConfiguration
@Configuration(proxyBeanMethods=false)
@ConditionalOnAvailableEndpoint(endpoint=EnvironmentEndpoint.class)
@EnableConfigurationProperties(EnvironmentEndpointProperties.class)
public class EnvironmentEndpointAutoConfiguration
extends Object
Auto-configuration
for the EnvironmentEndpoint
.- Since:
- 2.0.0
- Author:
- Phillip Webb, Stephane Nicoll
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionenvironmentEndpoint
(Environment environment, EnvironmentEndpointProperties properties, ObjectProvider<SanitizingFunction> sanitizingFunctions) environmentEndpointWebExtension
(EnvironmentEndpoint environmentEndpoint)
-
Constructor Details
-
EnvironmentEndpointAutoConfiguration
public EnvironmentEndpointAutoConfiguration()
-
-
Method Details
-
environmentEndpoint
@Bean @ConditionalOnMissingBean public EnvironmentEndpoint environmentEndpoint(Environment environment, EnvironmentEndpointProperties properties, ObjectProvider<SanitizingFunction> sanitizingFunctions) -
environmentEndpointWebExtension
@Bean @ConditionalOnMissingBean @ConditionalOnBean(EnvironmentEndpoint.class) @ConditionalOnAvailableEndpoint(exposure=WEB) public EnvironmentEndpointWebExtension environmentEndpointWebExtension(EnvironmentEndpoint environmentEndpoint)
-