@Configuration(proxyBeanMethods=false) @AutoConfigureAfter(value=JmxAutoConfiguration.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 |
---|---|
JmxEndpointDiscoverer |
jmxAnnotationEndpointDiscoverer(ParameterValueMapper parameterValueMapper,
ObjectProvider<OperationInvokerAdvisor> invokerAdvisors,
ObjectProvider<EndpointFilter<ExposableJmxEndpoint>> filters) |
ExposeExcludePropertyEndpointFilter<ExposableJmxEndpoint> |
jmxIncludeExcludePropertyEndpointFilter() |
JmxEndpointExporter |
jmxMBeanExporter(MBeanServer mBeanServer,
Environment environment,
ActuatorJsonMapperProvider actuatorJsonMapperProvider,
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 @ConditionalOnSingleCandidate(value=javax.management.MBeanServer.class) public JmxEndpointExporter jmxMBeanExporter(MBeanServer mBeanServer, Environment environment, ActuatorJsonMapperProvider actuatorJsonMapperProvider, JmxEndpointsSupplier jmxEndpointsSupplier)
@Bean public ExposeExcludePropertyEndpointFilter<ExposableJmxEndpoint> jmxIncludeExcludePropertyEndpointFilter()