Disconnect NotificationPublisherRegistration 80/105680/2
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 25 Apr 2023 19:43:41 +0000 (21:43 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 25 Apr 2023 22:02:19 +0000 (00:02 +0200)
commit778f86c80ee56aa8c70c9277cb3375cd071d59d0
tree664d9275f6d12bde688df748b59beba3f24f031f
parent779e1ddf8743b2a1373186407455e28e2d6868cd
Disconnect NotificationPublisherRegistration

Use a play yangtools.concepts.Registration as the baseline, which allows
us to use AbstractRegistration to manage the tie to the manager -- and
allows for a better thread-safety around concurrent close().

Change-Id: I33871bd59894d4ff95315dddeedcdd7b4e68f962
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
netconf/mdsal-netconf-notification/src/main/java/org/opendaylight/netconf/mdsal/notification/impl/NetconfNotificationManager.java
netconf/netconf-notifications-api/src/main/java/org/opendaylight/netconf/notifications/NotificationPublisherRegistration.java