@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) |
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) public EnvironmentMvcEndpoint environmentMvcEndpoint(EnvironmentEndpoint delegate)
@Bean @ConditionalOnBean(value=HealthEndpoint.class) public HealthMvcEndpoint healthMvcEndpoint(HealthEndpoint delegate)
@Bean @ConditionalOnBean(value=MetricsEndpoint.class) public MetricsMvcEndpoint metricsMvcEndpoint(MetricsEndpoint delegate)
@Bean public LogFileMvcEndpoint logfileMvcEndpoint()
@Bean @ConditionalOnBean(value=ShutdownEndpoint.class) public ShutdownMvcEndpoint shutdownMvcEndpoint(ShutdownEndpoint delegate)
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.