Cleaned up sal-common-* to common folder
[mdsal.git] / common / mdsal-common-api / src / main / java / org / opendaylight / controller / md / sal / common / api / data / DataChangePublisher.java
diff --git a/common/mdsal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/data/DataChangePublisher.java b/common/mdsal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/data/DataChangePublisher.java
new file mode 100644 (file)
index 0000000..222dba8
--- /dev/null
@@ -0,0 +1,22 @@
+/*
+ * Copyright (c) 2013 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.data;
+
+import org.opendaylight.yangtools.concepts.ListenerRegistration;
+import org.opendaylight.yangtools.concepts.Path;
+
+/**
+ *
+ * @deprecated Replaced by {@link AsyncDataBroker}
+ */
+@Deprecated
+public interface DataChangePublisher<P extends Path<P>, D, L extends DataChangeListener<P,D>> {
+
+    ListenerRegistration<L> registerDataChangeListener(P path, L listener);
+
+}