this.notificationHandler = notificationHandler;
}
public void addNotificationListener(ObjectName observed, NotificationListener listener, NotificationFilter filter, Object handback) throws InstanceNotFoundException, IOException
{
NotificationTuple tuple = new NotificationTuple(observed, listener, filter, handback);
// Filters are always invoked on client side, for now
tuple.setInvokeFilter(true);
if (notificationHandler.contains(tuple)) return;
Integer id = ((HTTPConnection)getConnection()).addNotificationListener(observed, null, getDelegateSubject());
notificationHandler.addNotificationListener(id, tuple);
}