Class EndpointWebMvcManagementContextConfiguration
- java.lang.Object
- org.springframework.boot.actuate.autoconfigure.EndpointWebMvcManagementContextConfiguration
@ManagementContextConfiguration @EnableConfigurationProperties({HealthMvcEndpointProperties.class,EndpointCorsProperties.class}) public class EndpointWebMvcManagementContextConfiguration extends Object
Configuration to exposeEndpoint
instances over Spring MVC.- Since:
- 1.3.0
Constructor Summary
Constructors Constructor Description EndpointWebMvcManagementContextConfiguration(HealthMvcEndpointProperties healthMvcEndpointProperties, ManagementServerProperties managementServerProperties, EndpointCorsProperties corsProperties, org.springframework.beans.factory.ObjectProvider<List<EndpointHandlerMappingCustomizer>> mappingCustomizers)
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
Constructor Detail
EndpointWebMvcManagementContextConfiguration
public EndpointWebMvcManagementContextConfiguration(HealthMvcEndpointProperties healthMvcEndpointProperties, ManagementServerProperties managementServerProperties, EndpointCorsProperties corsProperties, org.springframework.beans.factory.ObjectProvider<List<EndpointHandlerMappingCustomizer>> mappingCustomizers)
Method Detail
endpointHandlerMapping
@Bean @ConditionalOnMissingBean public EndpointHandlerMapping endpointHandlerMapping()
mvcEndpoints
@Bean @ConditionalOnMissingBean public MvcEndpoints mvcEndpoints()
environmentMvcEndpoint
@Bean @ConditionalOnMissingBean @ConditionalOnBean(EnvironmentEndpoint.class) @ConditionalOnEnabledEndpoint("env") public EnvironmentMvcEndpoint environmentMvcEndpoint(EnvironmentEndpoint delegate)
heapdumpMvcEndpoint
@Bean @ConditionalOnMissingBean @ConditionalOnEnabledEndpoint("heapdump") public HeapdumpMvcEndpoint heapdumpMvcEndpoint()
healthMvcEndpoint
@Bean @ConditionalOnBean(HealthEndpoint.class) @ConditionalOnMissingBean @ConditionalOnEnabledEndpoint("health") public HealthMvcEndpoint healthMvcEndpoint(HealthEndpoint delegate, ManagementServerProperties managementServerProperties)
loggersMvcEndpoint
@Bean @ConditionalOnMissingBean @ConditionalOnBean(LoggersEndpoint.class) @ConditionalOnEnabledEndpoint("loggers") public LoggersMvcEndpoint loggersMvcEndpoint(LoggersEndpoint delegate)
metricsMvcEndpoint
@Bean @ConditionalOnMissingBean @ConditionalOnBean(MetricsEndpoint.class) @ConditionalOnEnabledEndpoint("metrics") public MetricsMvcEndpoint metricsMvcEndpoint(MetricsEndpoint delegate)
logfileMvcEndpoint
@Bean @ConditionalOnMissingBean @ConditionalOnEnabledEndpoint("logfile") @Conditional(org.springframework.boot.actuate.autoconfigure.EndpointWebMvcManagementContextConfiguration.LogFileCondition.class) public LogFileMvcEndpoint logfileMvcEndpoint()
shutdownMvcEndpoint
@Bean @ConditionalOnMissingBean @ConditionalOnBean(ShutdownEndpoint.class) @ConditionalOnEnabledEndpoint(value="shutdown", enabledByDefault=false) public ShutdownMvcEndpoint shutdownMvcEndpoint(ShutdownEndpoint delegate)
auditEventMvcEndpoint
@Bean @ConditionalOnMissingBean @ConditionalOnBean(AuditEventRepository.class) @ConditionalOnEnabledEndpoint("auditevents") public AuditEventsMvcEndpoint auditEventMvcEndpoint(AuditEventRepository auditEventRepository)