@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(org.springframework.context.ApplicationContext applicationContext,
JmxEndpointProperties properties) |
Modifier and Type | Method and Description |
---|---|
JmxEndpointDiscoverer |
jmxAnnotationEndpointDiscoverer(ParameterValueMapper parameterValueMapper,
org.springframework.beans.factory.ObjectProvider<OperationInvokerAdvisor> invokerAdvisors,
org.springframework.beans.factory.ObjectProvider<EndpointFilter<ExposableJmxEndpoint>> filters) |
ExposeExcludePropertyEndpointFilter<ExposableJmxEndpoint> |
jmxIncludeExcludePropertyEndpointFilter() |
JmxEndpointExporter |
jmxMBeanExporter(MBeanServer mBeanServer,
org.springframework.core.env.Environment environment,
org.springframework.beans.factory.ObjectProvider<com.fasterxml.jackson.databind.ObjectMapper> objectMapper,
JmxEndpointsSupplier jmxEndpointsSupplier) |
public JmxEndpointAutoConfiguration(org.springframework.context.ApplicationContext applicationContext, JmxEndpointProperties properties)
@Bean @ConditionalOnMissingBean(value=JmxEndpointsSupplier.class) public JmxEndpointDiscoverer jmxAnnotationEndpointDiscoverer(ParameterValueMapper parameterValueMapper, org.springframework.beans.factory.ObjectProvider<OperationInvokerAdvisor> invokerAdvisors, org.springframework.beans.factory.ObjectProvider<EndpointFilter<ExposableJmxEndpoint>> filters)
@Bean @ConditionalOnSingleCandidate(value=javax.management.MBeanServer.class) public JmxEndpointExporter jmxMBeanExporter(MBeanServer mBeanServer, org.springframework.core.env.Environment environment, org.springframework.beans.factory.ObjectProvider<com.fasterxml.jackson.databind.ObjectMapper> objectMapper, JmxEndpointsSupplier jmxEndpointsSupplier)
@Bean public ExposeExcludePropertyEndpointFilter<ExposableJmxEndpoint> jmxIncludeExcludePropertyEndpointFilter()
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.