Fix ClusterSingletonServiceRegistration 53/73753/2
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 4 Jul 2018 14:48:50 +0000 (16:48 +0200)
committerTom Pantelis <tompantelis@gmail.com>
Mon, 9 Jul 2018 18:54:09 +0000 (18:54 +0000)
commitaaca2f7ef307e79f1edbbab39b7548dff8e92036
treec6454dc67dc9dd64de655714fdb588806bcfa5bc
parent6243f05222a3c4a3e16275c38d3f074094b55d0c
Fix ClusterSingletonServiceRegistration

This interface is intended to be a Registration, not an AutoCloseable,
and so is its only implementation.

Switch from AutoCloseable to ObjectRegistration, so users can take
advantage of the simplified API.

Change-Id: I47be557dce38f23e92d9744f019e327fa03c9321
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
singleton-service/mdsal-singleton-common-api/src/main/java/org/opendaylight/mdsal/singleton/common/api/ClusterSingletonServiceRegistration.java