@ManagementContextConfiguration @EnableConfigurationProperties(value={HealthMvcEndpointProperties.class,EndpointCorsProperties.class}) public class EndpointWebMvcManagementContextConfiguration extends Object
Endpoint
instances over Spring MVC.Constructor and Description |
---|
EndpointWebMvcManagementContextConfiguration(HealthMvcEndpointProperties healthMvcEndpointProperties,
ManagementServerProperties managementServerProperties,
EndpointCorsProperties corsProperties,
ObjectProvider<List<EndpointHandlerMappingCustomizer>> mappingCustomizers) |
Modifier and Type | Method and Description |
---|---|
AuditEventsMvcEndpoint |
auditEventMvcEndpoint(AuditEventRepository auditEventRepository) |
EndpointHandlerMapping |
endpointHandlerMapping() |
EnvironmentMvcEndpoint |
environmentMvcEndpoint(EnvironmentEndpoint delegate) |
HealthMvcEndpoint |
healthMvcEndpoint(HealthEndpoint delegate,
ManagementServerProperties managementServerProperties) |
HeapdumpMvcEndpoint |
heapdumpMvcEndpoint() |
LogFileMvcEndpoint |
logfileMvcEndpoint() |
LoggersMvcEndpoint |
loggersMvcEndpoint(LoggersEndpoint delegate) |
MetricsMvcEndpoint |
metricsMvcEndpoint(MetricsEndpoint delegate) |
MvcEndpoints |
mvcEndpoints() |
ShutdownMvcEndpoint |
shutdownMvcEndpoint(ShutdownEndpoint delegate) |
public EndpointWebMvcManagementContextConfiguration(HealthMvcEndpointProperties healthMvcEndpointProperties, ManagementServerProperties managementServerProperties, EndpointCorsProperties corsProperties, ObjectProvider<List<EndpointHandlerMappingCustomizer>> mappingCustomizers)
@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=LoggersEndpoint.class) @ConditionalOnEnabledEndpoint(value="loggers") public LoggersMvcEndpoint loggersMvcEndpoint(LoggersEndpoint 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)
@Bean @ConditionalOnBean(value=AuditEventRepository.class) @ConditionalOnEnabledEndpoint(value="auditevents") public AuditEventsMvcEndpoint auditEventMvcEndpoint(AuditEventRepository auditEventRepository)
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.