Deprecate all MD-SAL APIs
[controller.git] / opendaylight / md-sal / sal-dom-spi / src / main / java / org / opendaylight / controller / sal / core / spi / data / DOMStoreTransaction.java
1 /*
2  * Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 package org.opendaylight.controller.sal.core.spi.data;
9
10 import org.opendaylight.yangtools.concepts.Identifiable;
11
12 /**
13  * DOM Data Store transaction.
14  *
15  * @see DOMStoreReadTransaction
16  * @see DOMStoreWriteTransaction
17  * @see DOMStoreReadWriteTransaction
18  * @deprecated Use {@link org.opendaylight.mdsal.dom.spi.store.DOMStoreTransaction} instead.
19  */
20 @Deprecated
21 public interface DOMStoreTransaction extends AutoCloseable, Identifiable<Object> {
22     /**
23      * Unique identifier of the transaction.
24      */
25     @Override
26     Object getIdentifier();
27
28     @Override
29     void close();
30 }