Class EnvironmentEndpointAutoConfiguration
java.lang.Object
org.springframework.boot.actuate.autoconfigure.env.EnvironmentEndpointAutoConfiguration
@AutoConfiguration
@ConditionalOnAvailableEndpoint(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, EnvironmentEndpointProperties properties)
-
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, EnvironmentEndpointProperties properties)
-