X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=opendaylight%2Fmd-sal%2Fsal-common-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fmd%2Fsal%2Fcommon%2Fapi%2Fdata%2FTransactionChainListener.java;fp=opendaylight%2Fmd-sal%2Fsal-common-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fmd%2Fsal%2Fcommon%2Fapi%2Fdata%2FTransactionChainListener.java;h=0000000000000000000000000000000000000000;hb=2611e6a728e586ea34dd891f30a473bf54d6cbd8;hp=c27ef75c70f9f8679b05f2e4a7000daebb549f55;hpb=aaea3e9a92ae9d6fac04c4a065db4b35cbca9ed0;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 deleted file mode 100644 index c27ef75c70..0000000000 --- a/opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/data/TransactionChainListener.java +++ /dev/null @@ -1,35 +0,0 @@ -/* - * 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.common.api.data; - -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 - * this notification is invoked. Implementations should invoke chain.close() to close the chain. - * - * @param chain Transaction chain which failed - * @param transaction Transaction which caused the chain to fail - * @param cause The cause of transaction failure - */ - 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 - * closed and all its instructions have completed successfully. - * - * @param chain Transaction chain which completed - */ - void onTransactionChainSuccessful(TransactionChain chain); -} -