Inject MD_SAL services directly in sal-binding-it tests
[controller.git] / opendaylight / md-sal / sal-common-api / src / main / java / org / opendaylight / controller / md / sal / common / api / clustering / EntityOwnershipCandidateRegistration.java
index e59aefb9c4c6ccf30eed8c03d77af2cce8ecf3c4..487b19251b247a1e2da912aa57b555837b851bce 100644 (file)
@@ -14,11 +14,16 @@ import org.opendaylight.yangtools.concepts.ObjectRegistration;
  * An EntityOwnershipCandidateRegistration records a request to register a Candidate for a given Entity. Calling
  * close on the EntityOwnershipCandidateRegistration will remove the Candidate from any future ownership considerations
  * for that Entity.
+ *
+ * @deprecated Use org.opendaylight.mdsal.binding.api.clustering.EntityOwnershipCandidateRegistration
+ *             or org.opendaylight.mdsal.dom.api.clustering.DOMEntityOwnershipCandidateRegistration instead
  */
+@Deprecated
 public interface EntityOwnershipCandidateRegistration extends ObjectRegistration<Entity> {
-   /**
-    * Unregister the candidate
-    */
-   @Override
-   void close();
+
+    /**
+     * Unregister the candidate.
+     */
+    @Override
+    void close();
 }