|
|
@ -36,7 +36,7 @@ import org.springframework.jmx.export.MBeanExporter;
|
|
|
|
@Configuration
|
|
|
|
@Configuration
|
|
|
|
@ConditionalOnClass({ MBeanExporter.class })
|
|
|
|
@ConditionalOnClass({ MBeanExporter.class })
|
|
|
|
@ConditionalOnMissingBean({ MBeanExporter.class })
|
|
|
|
@ConditionalOnMissingBean({ MBeanExporter.class })
|
|
|
|
@ConditionalOnExpression("${spring.jmx.enabled:false}")
|
|
|
|
@ConditionalOnExpression("${spring.jmx.enabled:true}")
|
|
|
|
public class JmxAutoConfiguration {
|
|
|
|
public class JmxAutoConfiguration {
|
|
|
|
|
|
|
|
|
|
|
|
@Configuration
|
|
|
|
@Configuration
|
|
|
|