- public Registration<NotificationListener> addNotificationListener(QName notification, NotificationListener listener) {
- ListenerRegistration ret = new ListenerRegistration(notification, listener);
+ public ListenerRegistration<NotificationListener> addNotificationListener(QName notification, NotificationListener listener) {
+ MyListenerRegistration ret = new MyListenerRegistration(notification, listener);