X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-common-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fmd%2Fsal%2Fcommon%2Fapi%2Fclustering%2FEntityOwnershipListenerRegistration.java;h=db246f847e96142210c4860dc2e137cde5b522a1;hp=ff7ce5548e4698e395b9c41c810b4e5705fa7e42;hb=4d7cf612a673d09132a37b2d4d3002a2f213de02;hpb=4f2d31367df3b74d326d4a7c69bd20789d020198 diff --git a/opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/clustering/EntityOwnershipListenerRegistration.java b/opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/clustering/EntityOwnershipListenerRegistration.java index ff7ce5548e..db246f847e 100644 --- a/opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/clustering/EntityOwnershipListenerRegistration.java +++ b/opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/clustering/EntityOwnershipListenerRegistration.java @@ -15,16 +15,20 @@ import org.opendaylight.yangtools.concepts.ObjectRegistration; * An EntityOwnershipListenerRegistration records a request to register a ownership status change listener for a * given Entity. Calling close on the registration will unregister listeners and future ownership changes will not * be delivered to the listener. + * + * @deprecated Use org.opendaylight.mdsal.binding.api.clustering.EntityOwnershipListenerRegistration or + * org.opendaylight.mdsal.dom.api.clustering.DOMEntityOwnershipListenerRegistration instead */ +@Deprecated public interface EntityOwnershipListenerRegistration extends ObjectRegistration { /** - * Return the entity type that the listener was registered for + * Return the entity type that the listener was registered for. */ @Nonnull String getEntityType(); /** - * Unregister the listener + * Unregister the listener. */ @Override void close();