Class EnvironmentEndpointAutoConfiguration
java.lang.Object
org.springframework.boot.actuate.autoconfigure.env.EnvironmentEndpointAutoConfiguration
@AutoConfiguration
@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
Constructors -
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,CLOUD_FOUNDRY}) public EnvironmentEndpointWebExtension environmentEndpointWebExtension(EnvironmentEndpoint environmentEndpoint)
-