List of usage examples for org.springframework.jmx.export MBeanExporter AUTODETECT_NONE
int AUTODETECT_NONE
To view the source code for org.springframework.jmx.export MBeanExporter AUTODETECT_NONE.
Click Source Link
From source file:fr.xebia.management.statistics.ProfileAspect.java
public void afterPropertiesSet() throws Exception { if (this.server == null) { this.server = JmxUtils.locateMBeanServer(); }/*from w ww . jav a2 s. c o m*/ this.mbeanExporter = new AnnotationMBeanExporter(); this.mbeanExporter.setEnsureUniqueRuntimeObjectNames(false); this.mbeanExporter.setServer(this.server); this.mbeanExporter.setAutodetectMode(MBeanExporter.AUTODETECT_NONE); this.mbeanExporter.afterPropertiesSet(); }