Class JmxAutoConfiguration

  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.context.EnvironmentAware

    @Configuration
    @ConditionalOnClass(org.springframework.jmx.export.MBeanExporter.class)
    @ConditionalOnProperty(prefix="spring.jmx",
                           name="enabled",
                           havingValue="true",
                           matchIfMissing=true)
    public class JmxAutoConfiguration
    extends Object
    implements org.springframework.context.EnvironmentAware, org.springframework.beans.factory.BeanFactoryAware
    Auto-configuration to enable/disable Spring's EnableMBeanExport mechanism based on configuration properties.

    To disable auto export of annotation beans set spring.jmx.enabled: false.