List of usage examples for org.springframework.jmx.export.assembler MetadataMBeanInfoAssembler afterPropertiesSet
@Override public void afterPropertiesSet()
From source file:com.predic8.membrane.core.jmx.JmxExporter.java
@Override public void start() { exporter = new MBeanExporter(); exporter.setRegistrationPolicy(RegistrationPolicy.IGNORE_EXISTING); MetadataMBeanInfoAssembler assembler = new MetadataMBeanInfoAssembler(); assembler.setAttributeSource(new AnnotationJmxAttributeSource()); assembler.afterPropertiesSet(); exporter.setAssembler(assembler);//from w ww . j a v a2s . co m }