X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-dom-spi%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fmd%2Fsal%2Fdom%2Fspi%2FForwardingDOMNotificationService.java;h=b40c428b6b7078d428a8e7772bda9cb2cfb9d05e;hb=bfd413d87f82ee3ffed67a141a980805950a0f06;hp=5199a3893bf64c101ee3528b6ebff18f65193d78;hpb=da873284e3ed90af065b81ca219dfa72ea5545a3;p=controller.git diff --git a/opendaylight/md-sal/sal-dom-spi/src/main/java/org/opendaylight/controller/md/sal/dom/spi/ForwardingDOMNotificationService.java b/opendaylight/md-sal/sal-dom-spi/src/main/java/org/opendaylight/controller/md/sal/dom/spi/ForwardingDOMNotificationService.java index 5199a3893b..b40c428b6b 100644 --- a/opendaylight/md-sal/sal-dom-spi/src/main/java/org/opendaylight/controller/md/sal/dom/spi/ForwardingDOMNotificationService.java +++ b/opendaylight/md-sal/sal-dom-spi/src/main/java/org/opendaylight/controller/md/sal/dom/spi/ForwardingDOMNotificationService.java @@ -10,8 +10,8 @@ package org.opendaylight.controller.md.sal.dom.spi; import com.google.common.collect.ForwardingObject; import java.util.Collection; import org.opendaylight.controller.md.sal.dom.api.DOMNotificationListener; -import org.opendaylight.controller.md.sal.dom.api.DOMNotificationListenerRegistration; import org.opendaylight.controller.md.sal.dom.api.DOMNotificationService; +import org.opendaylight.yangtools.concepts.ListenerRegistration; import org.opendaylight.yangtools.yang.model.api.SchemaPath; /** @@ -23,13 +23,13 @@ public abstract class ForwardingDOMNotificationService extends ForwardingObject protected abstract DOMNotificationService delegate(); @Override - public DOMNotificationListenerRegistration registerNotificationListener(final DOMNotificationListener listener, + public ListenerRegistration registerNotificationListener(final T listener, final Collection types) { return delegate().registerNotificationListener(listener, types); } @Override - public DOMNotificationListenerRegistration registerNotificationListener(final DOMNotificationListener listener, + public ListenerRegistration registerNotificationListener(final T listener, final SchemaPath... types) { return delegate().registerNotificationListener(listener, types); }