X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-common-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fmd%2Fsal%2Fcommon%2Fapi%2Fdata%2FTransactionChainListener.java;h=c27ef75c70f9f8679b05f2e4a7000daebb549f55;hb=2a6aa1775604906755883f810ee9ea6d5f286135;hp=4dac6f557ebda436b29d2e1aaea9df86682fb90a;hpb=94d0d20b41d64bb6696c2a573ec367fcfddc44e9;p=controller.git diff --git a/opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/data/TransactionChainListener.java b/opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/data/TransactionChainListener.java index 4dac6f557e..c27ef75c70 100644 --- a/opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/data/TransactionChainListener.java +++ b/opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/data/TransactionChainListener.java @@ -12,6 +12,7 @@ import java.util.EventListener; /** * Listener for transaction chain events. */ +@Deprecated(forRemoval = true) public interface TransactionChainListener extends EventListener { /** * Invoked if when a transaction in the chain fails. All other transactions are automatically cancelled by the time @@ -21,7 +22,7 @@ public interface TransactionChainListener extends EventListener { * @param transaction Transaction which caused the chain to fail * @param cause The cause of transaction failure */ - void onTransactionChainFailed(TransactionChain chain, DataModification transaction, Throwable cause); + void onTransactionChainFailed(TransactionChain chain, AsyncTransaction transaction, Throwable cause); /** * Invoked when a transaction chain is completed. A transaction chain is considered completed when it has been