Class EndpointMBeanExportAutoConfiguration
- java.lang.Object
- org.springframework.boot.actuate.autoconfigure.EndpointMBeanExportAutoConfiguration
@Configuration @Conditional(org.springframework.boot.actuate.autoconfigure.EndpointMBeanExportAutoConfiguration.JmxEnabledCondition.class) @EnableConfigurationProperties(EndpointMBeanExportProperties.class) public class EndpointMBeanExportAutoConfiguration extends Object
Auto-configuration
to enable JMX export forEndpoint
s.
Constructor Summary
Constructors Constructor Description EndpointMBeanExportAutoConfiguration(EndpointMBeanExportProperties properties, org.springframework.beans.factory.ObjectProvider<com.fasterxml.jackson.databind.ObjectMapper> objectMapper)
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuditEventsJmxEndpoint
auditEventsEndpoint(AuditEventRepository auditEventRepository)
EndpointMBeanExporter
endpointMBeanExporter(MBeanServer server)
MBeanServer
mbeanServer()
Constructor Detail
EndpointMBeanExportAutoConfiguration
public EndpointMBeanExportAutoConfiguration(EndpointMBeanExportProperties properties, org.springframework.beans.factory.ObjectProvider<com.fasterxml.jackson.databind.ObjectMapper> objectMapper)
Method Detail
endpointMBeanExporter
@Bean public EndpointMBeanExporter endpointMBeanExporter(MBeanServer server)
mbeanServer
@Bean @ConditionalOnMissingBean(javax.management.MBeanServer.class) public MBeanServer mbeanServer()
auditEventsEndpoint
@Bean @ConditionalOnBean(AuditEventRepository.class) @ConditionalOnEnabledEndpoint("auditevents") public AuditEventsJmxEndpoint auditEventsEndpoint(AuditEventRepository auditEventRepository)