// but the http connector does not support listeners
try {
final MBeanServerNotificationFilter filter = new MBeanServerNotificationFilter();
filter.enableAllObjectNames();
filter.disableAllTypes();
filter.enableType(MBeanServerNotification.UNREGISTRATION_NOTIFICATION);
JMXUtil.listenToMBeanServerDelegate(conn, this, filter, null);
} catch (Exception e) {
warning("ProxyFactory: connection does not support notifications: ",
mMBeanServerID, conn);
}