@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) |
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)
@Bean @ConditionalOnBean(value=MetricsEndpoint.class) @ConditionalOnEnabledEndpoint(value="metrics") public MetricsMvcEndpoint metricsMvcEndpoint(MetricsEndpoint delegate)
@Bean @ConditionalOnEnabledEndpoint(value="logfile") public LogFileMvcEndpoint logfileMvcEndpoint()
@Bean @ConditionalOnBean(value=ShutdownEndpoint.class) @ConditionalOnEnabledEndpoint(value="shutdown", enabledByDefault=false) public ShutdownMvcEndpoint shutdownMvcEndpoint(ShutdownEndpoint delegate)
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.