* @param notification received
* @param handback The handback
*/
public void handleNotification(Notification notification, Object handback) {
if (notification instanceof MBeanServerNotification) {
MBeanServerNotification notif = (MBeanServerNotification) notification;
// Process the ConnectionHandler Registration
if (notif.getType().equals(
MBeanServerNotification.REGISTRATION_NOTIFICATION)) {
ObjectName name = notif.getMBeanName();
if ((name.getKeyProperty("Rdn1").equals("cn-monitor")) &&
(isAConnectionHandler(name))) {
addRowInDsApplIfOpsTable(name);
}
}
// Process the ConnectionHandler unregistration
else if (notif.getType().equals(
MBeanServerNotification.UNREGISTRATION_NOTIFICATION)) {
ObjectName name = notif.getMBeanName();
if ((name.getKeyProperty("Rdn1").equals("cn-monitor")) &&
(isAConnectionHandler(name))) {
removeRowInDsApplIfOpsTable(name);
}
}