InstrumentationManager im = bus.getExtension(InstrumentationManager.class);
if (this != im) {
bus.setExtension(this, InstrumentationManager.class);
try {
ManagedBus mbus = new ManagedBus(bus);
im.unregister(mbus);
if (LOG.isLoggable(Level.INFO)) {
LOG.info("unregistered " + mbus.getObjectName());
}
} catch (JMException e) {
// ignore