Class JmxEndpointAutoConfiguration
java.lang.Object
org.springframework.boot.actuate.autoconfigure.endpoint.jmx.JmxEndpointAutoConfiguration
@Configuration(proxyBeanMethods=false)
@AutoConfigureAfter({JmxAutoConfiguration.class,EndpointAutoConfiguration.class})
@EnableConfigurationProperties(JmxEndpointProperties.class)
@ConditionalOnProperty(prefix="spring.jmx",
name="enabled",
havingValue="true")
public class JmxEndpointAutoConfiguration
extends Object
Auto-configuration
for JMX @Endpoint
support.- Since:
- 2.0.0
- Author:
- Andy Wilkinson, Stephane Nicoll, Phillip Webb
-
Constructor Summary
ConstructorDescriptionJmxEndpointAutoConfiguration
(ApplicationContext applicationContext, JmxEndpointProperties properties) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.boot.actuate.autoconfigure.endpoint.jmx.DefaultEndpointObjectNameFactory
endpointObjectNameFactory
(MBeanServer mBeanServer, Environment environment) jmxAnnotationEndpointDiscoverer
(ParameterValueMapper parameterValueMapper, ObjectProvider<OperationInvokerAdvisor> invokerAdvisors, ObjectProvider<EndpointFilter<ExposableJmxEndpoint>> filters) jmxMBeanExporter
(MBeanServer mBeanServer, EndpointObjectNameFactory endpointObjectNameFactory, ObjectProvider<com.fasterxml.jackson.databind.ObjectMapper> objectMapper, JmxEndpointsSupplier jmxEndpointsSupplier)
-
Constructor Details
-
JmxEndpointAutoConfiguration
public JmxEndpointAutoConfiguration(ApplicationContext applicationContext, JmxEndpointProperties properties)
-
-
Method Details
-
jmxAnnotationEndpointDiscoverer
@Bean @ConditionalOnMissingBean(JmxEndpointsSupplier.class) public JmxEndpointDiscoverer jmxAnnotationEndpointDiscoverer(ParameterValueMapper parameterValueMapper, ObjectProvider<OperationInvokerAdvisor> invokerAdvisors, ObjectProvider<EndpointFilter<ExposableJmxEndpoint>> filters) -
endpointObjectNameFactory
@Bean @ConditionalOnMissingBean(EndpointObjectNameFactory.class) public org.springframework.boot.actuate.autoconfigure.endpoint.jmx.DefaultEndpointObjectNameFactory endpointObjectNameFactory(MBeanServer mBeanServer, Environment environment) -
jmxMBeanExporter
@Bean @ConditionalOnSingleCandidate(javax.management.MBeanServer.class) public JmxEndpointExporter jmxMBeanExporter(MBeanServer mBeanServer, EndpointObjectNameFactory endpointObjectNameFactory, ObjectProvider<com.fasterxml.jackson.databind.ObjectMapper> objectMapper, JmxEndpointsSupplier jmxEndpointsSupplier) -
jmxIncludeExcludePropertyEndpointFilter
@Bean public IncludeExcludeEndpointFilter<ExposableJmxEndpoint> jmxIncludeExcludePropertyEndpointFilter()
-