Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Deprecate old MD-SAL APIs for removal
[controller.git]
/
opendaylight
/
md-sal
/
sal-dom-spi
/
src
/
main
/
java
/
org
/
opendaylight
/
controller
/
md
/
sal
/
dom
/
spi
/
ForwardingDOMNotificationPublishService.java
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 6bc11079e23f714aaa16eb77e484ae28f98fb2ec..e3021b115b08c7f1ec898a03d38a0884cb0f1618 100644
(file)
--- 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.
/**
* 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(forRemoval = true)
+public abstract class ForwardingDOMNotificationPublishService extends ForwardingObject
+ implements DOMNotificationPublishService {
@Override
protected abstract DOMNotificationPublishService delegate();
@Override
@Override
protected abstract DOMNotificationPublishService delegate();
@Override
- public ListenableFuture<?
extends Object
> putNotification(final DOMNotification notification) throws InterruptedException {
+ public ListenableFuture<?> putNotification(final DOMNotification notification) throws InterruptedException {
return delegate().putNotification(notification);
}
@Override
return delegate().putNotification(notification);
}
@Override
- public ListenableFuture<?
extends Object
> offerNotification(final DOMNotification notification) {
+ public ListenableFuture<?> offerNotification(final DOMNotification notification) {
return delegate().offerNotification(notification);
}
@Override
return delegate().offerNotification(notification);
}
@Override
- public ListenableFuture<?
extends Object
> 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);
}
final TimeUnit unit) throws InterruptedException {
return delegate().offerNotification(notification, timeout, unit);
}