Fix transaction manager closing.
[openflowplugin.git] / applications / topology-manager / src / main / java / org / opendaylight / openflowplugin / applications / topology / manager / TopologyOperation.java
index a49ec9bd958dc284afcdd6f15a8d134f6589ed96..82f3471ad17ba07ee8e574e28c467884729e7d48 100644 (file)
@@ -8,6 +8,7 @@
 package org.opendaylight.openflowplugin.applications.topology.manager;
 
 import org.opendaylight.controller.md.sal.binding.api.ReadWriteTransaction;
+import org.opendaylight.openflowplugin.common.txchain.TransactionChainManager;
 
 /**
  * Internal interface for submitted operations. Implementations of this
@@ -17,7 +18,7 @@ interface TopologyOperation {
     /**
      * Execute the operation on top of the transaction.
      *
-     * @param transaction Datastore transaction
+     * @param manager Datastore transaction manager
      */
-    void applyOperation(ReadWriteTransaction transaction);
+    void applyOperation(TransactionChainManager manager);
 }
\ No newline at end of file