final NotificationListener invocationHandler = (NotificationListener) Proxy.getInvocationHandler(mbsf);
// Install a notification listener on OPENED, CLOSED, and FAILED,
// passing the map of connection-ids to usernames as hand-back data.
final NotificationFilterSupport invocationHandlerFilter = new NotificationFilterSupport();
invocationHandlerFilter.enableType(JMXConnectionNotification.OPENED);
invocationHandlerFilter.enableType(JMXConnectionNotification.CLOSED);
invocationHandlerFilter.enableType(JMXConnectionNotification.FAILED);
_cs.addNotificationListener(invocationHandler, invocationHandlerFilter, connectionIdUsernameMap);
// Install a second notification listener on CLOSED AND FAILED only to remove the entry from the