@ManagementContextConfiguration @EnableConfigurationProperties(value={HealthMvcEndpointProperties.class,EndpointCorsProperties.class}) public class EndpointWebMvcManagementContextConfiguration extends Object
Endpoint
instances over Spring MVC.Constructor and Description |
---|
EndpointWebMvcManagementContextConfiguration() |
Modifier and Type | Method and Description |
---|---|
EndpointHandlerMapping |
endpointHandlerMapping() |
EnvironmentMvcEndpoint |
environmentMvcEndpoint(EnvironmentEndpoint delegate) |
HealthMvcEndpoint |
healthMvcEndpoint(HealthEndpoint delegate,
ManagementServerProperties managementServerProperties) |
HeapdumpMvcEndpoint |
heapdumpMvcEndpoint() |
LogFileMvcEndpoint |
logfileMvcEndpoint() |
MetricsMvcEndpoint |
metricsMvcEndpoint(MetricsEndpoint delegate) |
MvcEndpoints |
mvcEndpoints() |
ShutdownMvcEndpoint |
shutdownMvcEndpoint(ShutdownEndpoint delegate) |
public EndpointWebMvcManagementContextConfiguration()
@Bean @ConditionalOnMissingBean public EndpointHandlerMapping endpointHandlerMapping()
@Bean @ConditionalOnMissingBean public MvcEndpoints mvcEndpoints()
@Bean @ConditionalOnBean(value=EnvironmentEndpoint.class) @ConditionalOnEnabledEndpoint(value="env") public EnvironmentMvcEndpoint environmentMvcEndpoint(EnvironmentEndpoint delegate)
@Bean @ConditionalOnMissingBean @ConditionalOnEnabledEndpoint(value="heapdump") public HeapdumpMvcEndpoint heapdumpMvcEndpoint()
@Bean @ConditionalOnBean(value=HealthEndpoint.class) @ConditionalOnEnabledEndpoint(value="health") public HealthMvcEndpoint healthMvcEndpoint(HealthEndpoint delegate, ManagementServerProperties managementServerProperties)
@Bean @ConditionalOnBean(value=MetricsEndpoint.class) @ConditionalOnEnabledEndpoint(value="metrics") public MetricsMvcEndpoint metricsMvcEndpoint(MetricsEndpoint delegate)
@Bean @ConditionalOnEnabledEndpoint(value="logfile") @Conditional(value=org.springframework.boot.actuate.autoconfigure.EndpointWebMvcManagementContextConfiguration.LogFileCondition.class) public LogFileMvcEndpoint logfileMvcEndpoint()
@Bean @ConditionalOnBean(value=ShutdownEndpoint.class) @ConditionalOnEnabledEndpoint(value="shutdown", enabledByDefault=false) public ShutdownMvcEndpoint shutdownMvcEndpoint(ShutdownEndpoint delegate)
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.