Example of how to export a MBean in Spring framework.