Add default implementation of registerDataChangeListener 46/69046/2
authorTom Pantelis <tompantelis@gmail.com>
Sun, 4 Mar 2018 03:19:34 +0000 (22:19 -0500)
committerStephen Kitt <skitt@redhat.com>
Mon, 5 Mar 2018 09:15:13 +0000 (09:15 +0000)
commit441af0d780a045ae6172c0872704e8f0e47fb09d
tree0a6fa78a2d4a291a687ede410902821714c6e1a5
parent24b4137deb19c4f07f5b73c97797ac59b73eb6b4
Add default implementation of registerDataChangeListener

registerDataChangeListener is scheduled for removal howver
there are a few DataBroker implementations scattered about
that stub out this method. To facilitate smmooth removal,
add a default implementation in AsyncDataBroker that throws
UnsupportedOperationException - this will allow for the stubbed
implementations to be removed.

Change-Id: I784c5320f6c236cbb736799b9cf93f232d22e289
Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/data/AsyncDataBroker.java