X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-dom-spi%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fmd%2Fsal%2Fdom%2Fspi%2FForwardingDOMNotificationPublishService.java;h=7cc5e96f7f2346d579a8e8df15b4d9817aca911b;hp=6bc11079e23f714aaa16eb77e484ae28f98fb2ec;hb=3ec97cd0a86ad1b79f6854dc6924eb7b06e359a3;hpb=e8ee8a8897013fb90376e21ccd9fc54a98a8c251 diff --git a/opendaylight/md-sal/sal-dom-spi/src/main/java/org/opendaylight/controller/md/sal/dom/spi/ForwardingDOMNotificationPublishService.java b/opendaylight/md-sal/sal-dom-spi/src/main/java/org/opendaylight/controller/md/sal/dom/spi/ForwardingDOMNotificationPublishService.java index 6bc11079e2..7cc5e96f7f 100644 --- a/opendaylight/md-sal/sal-dom-spi/src/main/java/org/opendaylight/controller/md/sal/dom/spi/ForwardingDOMNotificationPublishService.java +++ b/opendaylight/md-sal/sal-dom-spi/src/main/java/org/opendaylight/controller/md/sal/dom/spi/ForwardingDOMNotificationPublishService.java @@ -16,23 +16,27 @@ import org.opendaylight.controller.md.sal.dom.api.DOMNotificationPublishService; /** * Utility implementations of {@link DOMNotificationPublishService} which forwards * all requests to a delegate instance. + * + * @deprecated Use {@link org.opendaylight.mdsal.dom.spi.ForwardingDOMNotificationPublishService} instead. */ -public abstract class ForwardingDOMNotificationPublishService extends ForwardingObject implements DOMNotificationPublishService { +@Deprecated +public abstract class ForwardingDOMNotificationPublishService extends ForwardingObject + implements DOMNotificationPublishService { @Override protected abstract DOMNotificationPublishService delegate(); @Override - public ListenableFuture putNotification(final DOMNotification notification) throws InterruptedException { + public ListenableFuture putNotification(final DOMNotification notification) throws InterruptedException { return delegate().putNotification(notification); } @Override - public ListenableFuture offerNotification(final DOMNotification notification) { + public ListenableFuture offerNotification(final DOMNotification notification) { return delegate().offerNotification(notification); } @Override - public ListenableFuture offerNotification(final DOMNotification notification, final long timeout, + public ListenableFuture offerNotification(final DOMNotification notification, final long timeout, final TimeUnit unit) throws InterruptedException { return delegate().offerNotification(notification, timeout, unit); }