Deprecate NotificationListener 17/101617/4
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 21 Jun 2022 11:49:03 +0000 (13:49 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 21 Jun 2022 15:55:57 +0000 (17:55 +0200)
commite9d5a70fac98a0095fc6ece6ac97526bcd4dad76
tree352eca59cbfd1814b1b123db7340d1216981d8cb
parent013c77f7d4792624a2a0e898308091ec54f2f704
Deprecate NotificationListener

NotificationListener is a top-level generated class with a tight binding
to invocation patterns (in mdsal-binding-api). We already provide an
alternative API via functional interfaces, which deal with the
equivalent problem.

Deprecate NotificationListener and related services, guiding users to
their replacements.

JIRA: MDSAL-496
Change-Id: I4ac52493f253040f0055011122dd41c4c367d84b
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
binding/mdsal-binding-api/src/main/java/org/opendaylight/mdsal/binding/api/NotificationService.java
binding/mdsal-binding-dom-adapter/src/main/java/org/opendaylight/mdsal/binding/dom/adapter/BindingDOMNotificationServiceAdapter.java
binding/mdsal-binding-dom-adapter/src/main/java/org/opendaylight/mdsal/binding/dom/adapter/osgi/OSGiNotificationService.java
binding/mdsal-binding-generator/src/main/java/org/opendaylight/mdsal/binding/generator/impl/reactor/Generator.java
binding/mdsal-binding-generator/src/main/java/org/opendaylight/mdsal/binding/generator/impl/reactor/NotificationServiceGenerator.java
binding/mdsal-binding-model-ri/src/main/java/org/opendaylight/mdsal/binding/model/ri/BindingTypes.java
binding/yang-binding/src/main/java/org/opendaylight/yangtools/yang/binding/NotificationListener.java