@AutoConfiguration(after={JmxAutoConfiguration.class,EndpointAutoConfiguration.class}) @EnableConfigurationProperties(value={JmxEndpointProperties.class,JmxProperties.class}) @ConditionalOnProperty(prefix="spring.jmx", name="enabled", havingValue="true") public class JmxEndpointAutoConfiguration extends Object
Auto-configuration
for JMX @Endpoint
support.Constructor and Description |
---|
JmxEndpointAutoConfiguration(ApplicationContext applicationContext,
JmxEndpointProperties properties,
JmxProperties jmxProperties) |
Modifier and Type | Method and Description |
---|---|
org.springframework.boot.actuate.autoconfigure.endpoint.jmx.DefaultEndpointObjectNameFactory |
endpointObjectNameFactory(MBeanServer mBeanServer) |
JmxEndpointDiscoverer |
jmxAnnotationEndpointDiscoverer(ParameterValueMapper parameterValueMapper,
ObjectProvider<OperationInvokerAdvisor> invokerAdvisors,
ObjectProvider<EndpointFilter<ExposableJmxEndpoint>> filters) |
IncludeExcludeEndpointFilter<ExposableJmxEndpoint> |
jmxIncludeExcludePropertyEndpointFilter() |
JmxEndpointExporter |
jmxMBeanExporter(MBeanServer mBeanServer,
EndpointObjectNameFactory endpointObjectNameFactory,
ObjectProvider<com.fasterxml.jackson.databind.ObjectMapper> objectMapper,
JmxEndpointsSupplier jmxEndpointsSupplier) |
public JmxEndpointAutoConfiguration(ApplicationContext applicationContext, JmxEndpointProperties properties, JmxProperties jmxProperties)
@Bean @ConditionalOnMissingBean(value=JmxEndpointsSupplier.class) public JmxEndpointDiscoverer jmxAnnotationEndpointDiscoverer(ParameterValueMapper parameterValueMapper, ObjectProvider<OperationInvokerAdvisor> invokerAdvisors, ObjectProvider<EndpointFilter<ExposableJmxEndpoint>> filters)
@Bean @ConditionalOnMissingBean(value=EndpointObjectNameFactory.class) public org.springframework.boot.actuate.autoconfigure.endpoint.jmx.DefaultEndpointObjectNameFactory endpointObjectNameFactory(MBeanServer mBeanServer)
@Bean @ConditionalOnSingleCandidate(value=javax.management.MBeanServer.class) public JmxEndpointExporter jmxMBeanExporter(MBeanServer mBeanServer, EndpointObjectNameFactory endpointObjectNameFactory, ObjectProvider<com.fasterxml.jackson.databind.ObjectMapper> objectMapper, JmxEndpointsSupplier jmxEndpointsSupplier)
@Bean public IncludeExcludeEndpointFilter<ExposableJmxEndpoint> jmxIncludeExcludePropertyEndpointFilter()