import java.util.Collection;
import javax.annotation.Nonnull;
+import org.opendaylight.controller.sal.core.api.BrokerService;
import org.opendaylight.yangtools.concepts.ListenerRegistration;
import org.opendaylight.yangtools.yang.model.api.SchemaPath;
* A {@link DOMService} which allows its users to subscribe to receive
* {@link DOMNotification}s.
*/
-public interface DOMNotificationService {
+public interface DOMNotificationService extends DOMService, BrokerService {
/**
* Register a {@link DOMNotificationListener} to receive a set of notifications. As with
* other ListenerRegistration-based interfaces, registering an instance multiple times
* @param listener Notification instance to register
* @param types Notification types which should be delivered to the listener. Duplicate
* entries are processed only once, null entries are ignored.
- * @return Registration handle. Invoking {@link DOMNotificationListenerRegistration#close()}
+ * @return Registration handle. Invoking {@link ListenerRegistration#close()}
* will stop the delivery of notifications to the listener
* @throws IllegalArgumentException if types is empty or contains an invalid element, such as
* null or a SchemaPath which does not represent a valid {@link DOMNotification} type.
* @param listener Notification instance to register
* @param types Notification types which should be delivered to the listener. Duplicate
* entries are processed only once, null entries are ignored.
- * @return Registration handle. Invoking {@link DOMNotificationListenerRegistration#close()}
+ * @return Registration handle. Invoking {@link ListenerRegistration#close()}
* will stop the delivery of notifications to the listener
* @throws IllegalArgumentException if types is empty or contains an invalid element, such as
* null or a SchemaPath which does not represent a valid {@link DOMNotification} type.