Example usage for org.springframework.jmx.export.assembler MetadataMBeanInfoAssembler afterPropertiesSet

List of usage examples for org.springframework.jmx.export.assembler MetadataMBeanInfoAssembler afterPropertiesSet

Introduction

In this page you can find the example usage for org.springframework.jmx.export.assembler MetadataMBeanInfoAssembler afterPropertiesSet.

Prototype

@Override
    public void afterPropertiesSet() 

Source Link

Usage

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
}