Class JmxEndpointAutoConfiguration
java.lang.Object
org.springframework.boot.actuate.autoconfigure.endpoint.jmx.JmxEndpointAutoConfiguration
@AutoConfiguration(after={JmxAutoConfiguration.class,EndpointAutoConfiguration.class})
@EnableConfigurationProperties({JmxEndpointProperties.class,JmxProperties.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, JmxProperties jmxProperties) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.boot.actuate.autoconfigure.endpoint.jmx.DefaultEndpointObjectNameFactory
endpointObjectNameFactory
(MBeanServer mBeanServer) 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, JmxProperties jmxProperties)
-
-
Method Details
-
jmxAnnotationEndpointDiscoverer
@Bean @ConditionalOnMissingBean(JmxEndpointsSupplier.class) public JmxEndpointDiscoverer jmxAnnotationEndpointDiscoverer(ParameterValueMapper parameterValueMapper, ObjectProvider<OperationInvokerAdvisor> invokerAdvisors, ObjectProvider<EndpointFilter<ExposableJmxEndpoint>> filters) -
endpointObjectNameFactory
@Bean @ConditionalOnMissingBean(value=EndpointObjectNameFactory.class, search=CURRENT) public org.springframework.boot.actuate.autoconfigure.endpoint.jmx.DefaultEndpointObjectNameFactory endpointObjectNameFactory(MBeanServer mBeanServer) -
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()
-