Move Binding EntityOwnershipService
[mdsal.git] / entityownership / mdsal-eos-binding-api / src / main / java / org / opendaylight / mdsal / binding / api / clustering / EntityOwnershipListener.java
diff --git a/entityownership/mdsal-eos-binding-api/src/main/java/org/opendaylight/mdsal/binding/api/clustering/EntityOwnershipListener.java b/entityownership/mdsal-eos-binding-api/src/main/java/org/opendaylight/mdsal/binding/api/clustering/EntityOwnershipListener.java
new file mode 100644 (file)
index 0000000..47b3b9a
--- /dev/null
@@ -0,0 +1,28 @@
+/*
+ * Copyright (c) 2015 Brocade Communications 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.mdsal.binding.api.clustering;
+
+import com.google.common.annotations.Beta;
+import org.opendaylight.mdsal.common.api.clustering.GenericEntityOwnershipListener;
+import org.opendaylight.yangtools.yang.binding.InstanceIdentifier;
+
+/**
+ * Binding interface for GenericEntityOwnershipListener.
+ *
+ * @author Thomas Pantelis
+ */
+@Beta
+public interface EntityOwnershipListener extends
+        GenericEntityOwnershipListener<InstanceIdentifier<?>, EntityOwnershipChange> {
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    void ownershipChanged(EntityOwnershipChange ownershipChange);
+}