// From JMX 1.1 the MBeanInfo may be dynamically changed at every time, let's refresh it
MBeanInfo info = null;
try {
info = ((DynamicMBean)metadata.mbean).getMBeanInfo();
} catch (RuntimeException x) {
throw new RuntimeMBeanException(x);
}
if (info == null) return null;
metadata.info = info;
// Refresh also ObjectInstance.getClassName(), if it's the case