@Configuration @Conditional(value=org.springframework.boot.actuate.autoconfigure.EndpointMBeanExportAutoConfiguration.JmxEnabledCondition.class) @EnableConfigurationProperties(value=EndpointMBeanExportProperties.class) public class EndpointMBeanExportAutoConfiguration extends Object
Auto-configuration
to enable JMX export for
Endpoint
s.Constructor and Description |
---|
EndpointMBeanExportAutoConfiguration(EndpointMBeanExportProperties properties,
ObjectProvider<com.fasterxml.jackson.databind.ObjectMapper> objectMapper) |
Modifier and Type | Method and Description |
---|---|
AuditEventsJmxEndpoint |
auditEventsEndpoint(AuditEventRepository auditEventRepository) |
EndpointMBeanExporter |
endpointMBeanExporter(MBeanServer server) |
MBeanServer |
mbeanServer() |
public EndpointMBeanExportAutoConfiguration(EndpointMBeanExportProperties properties, ObjectProvider<com.fasterxml.jackson.databind.ObjectMapper> objectMapper)
@Bean public EndpointMBeanExporter endpointMBeanExporter(MBeanServer server)
@Bean @ConditionalOnMissingBean(value=javax.management.MBeanServer.class) public MBeanServer mbeanServer()
@Bean @ConditionalOnBean(value=AuditEventRepository.class) @ConditionalOnEnabledEndpoint(value="auditevents") public AuditEventsJmxEndpoint auditEventsEndpoint(AuditEventRepository auditEventRepository)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.