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%2FEntityOwnershipCandidateRegistration.java;fp=opendaylight%2Fmd-sal%2Fsal-common-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fmd%2Fsal%2Fcommon%2Fapi%2Fclustering%2FEntityOwnershipCandidateRegistration.java;h=0000000000000000000000000000000000000000;hp=487b19251b247a1e2da912aa57b555837b851bce;hb=99f994b3e45963f6ef46bc2b71ab4dd8eea8b9ac;hpb=4d7cf612a673d09132a37b2d4d3002a2f213de02 diff --git a/opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/clustering/EntityOwnershipCandidateRegistration.java b/opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/clustering/EntityOwnershipCandidateRegistration.java deleted file mode 100644 index 487b19251b..0000000000 --- a/opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/clustering/EntityOwnershipCandidateRegistration.java +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v1.0 which accompanies this distribution, - * and is available at http://www.eclipse.org/legal/epl-v10.html - */ - -package org.opendaylight.controller.md.sal.common.api.clustering; - -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 { - - /** - * Unregister the candidate. - */ - @Override - void close(); -}