@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,
org.springframework.beans.factory.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, org.springframework.beans.factory.ObjectProvider<List<EndpointHandlerMappingCustomizer>> mappingCustomizers)
@Bean @ConditionalOnMissingBean public EndpointHandlerMapping endpointHandlerMapping()
@Bean @ConditionalOnMissingBean public MvcEndpoints mvcEndpoints()
@Bean @ConditionalOnMissingBean @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) @ConditionalOnMissingBean @ConditionalOnEnabledEndpoint(value="health") public HealthMvcEndpoint healthMvcEndpoint(HealthEndpoint delegate, ManagementServerProperties managementServerProperties)
@Bean @ConditionalOnMissingBean @ConditionalOnBean(value=LoggersEndpoint.class) @ConditionalOnEnabledEndpoint(value="loggers") public LoggersMvcEndpoint loggersMvcEndpoint(LoggersEndpoint delegate)
@Bean @ConditionalOnMissingBean @ConditionalOnBean(value=MetricsEndpoint.class) @ConditionalOnEnabledEndpoint(value="metrics") public MetricsMvcEndpoint metricsMvcEndpoint(MetricsEndpoint delegate)
@Bean @ConditionalOnMissingBean @ConditionalOnEnabledEndpoint(value="logfile") @Conditional(value=org.springframework.boot.actuate.autoconfigure.EndpointWebMvcManagementContextConfiguration.LogFileCondition.class) public LogFileMvcEndpoint logfileMvcEndpoint()
@Bean @ConditionalOnMissingBean @ConditionalOnBean(value=ShutdownEndpoint.class) @ConditionalOnEnabledEndpoint(value="shutdown", enabledByDefault=false) public ShutdownMvcEndpoint shutdownMvcEndpoint(ShutdownEndpoint delegate)
@Bean @ConditionalOnMissingBean @ConditionalOnBean(value=AuditEventRepository.class) @ConditionalOnEnabledEndpoint(value="auditevents") public AuditEventsMvcEndpoint auditEventMvcEndpoint(AuditEventRepository auditEventRepository)
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.