Migrate OSGI compendium reference
[controller.git] / opendaylight / md-sal / sal-binding-api / src / main / java / org / opendaylight / controller / md / sal / binding / api / BindingTransactionChain.java
index eac65ad6775a8b6ac6a9b8c99b8f710a78d9a484..02b9dfb0d182bf8814e9b1962489da99b3405e6b 100644 (file)
@@ -1,11 +1,30 @@
+/*
+ * Copyright (c) 2014 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.binding.api;
 
 import org.opendaylight.controller.md.sal.common.api.data.TransactionChain;
 import org.opendaylight.yangtools.yang.binding.DataObject;
 import org.opendaylight.yangtools.yang.binding.InstanceIdentifier;
 
-public interface BindingTransactionChain extends TransactionChain<InstanceIdentifier<?>, DataObject> {
-
+/**
+ * A chain of transactions.
+ *
+ * <p>
+ * For more information about transaction chaining and transaction chains
+ * see {@link TransactionChain}.
+ *
+ * @see TransactionChain
+ *
+ * @deprecated Use {@link org.opendaylight.mdsal.binding.api.TransactionChain} instead.
+ */
+@Deprecated(forRemoval = true)
+public interface BindingTransactionChain extends TransactionFactory,
+        TransactionChain<InstanceIdentifier<?>, DataObject> {
     @Override
     ReadOnlyTransaction newReadOnlyTransaction();
 
@@ -14,5 +33,4 @@ public interface BindingTransactionChain extends TransactionChain<InstanceIdenti
 
     @Override
     WriteTransaction newWriteOnlyTransaction();
-
 }