@Configuration(proxyBeanMethods=false) @AutoConfigureAfter(value={JmxAutoConfiguration.class,EndpointAutoConfiguration.class}) @EnableConfigurationProperties(value=JmxEndpointProperties.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) |
Modifier and Type | Method and Description |
---|---|
org.springframework.boot.actuate.autoconfigure.endpoint.jmx.DefaultEndpointObjectNameFactory |
endpointObjectNameFactory(MBeanServer mBeanServer,
Environment environment) |
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)
@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, Environment environment)
@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()