2f123cd712cb5b742ad53148f16f3887c4ebcdea
[controller.git] / opendaylight / md-sal / sal-dom-api / src / main / java / org / opendaylight / controller / md / sal / dom / api / DOMDataBroker.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.md.sal.dom.api;
9
10 import org.opendaylight.controller.md.sal.common.api.data.AsyncDataBroker;
11 import org.opendaylight.controller.md.sal.common.api.data.TransactionChainFactory;
12 import org.opendaylight.controller.md.sal.common.api.data.TransactionChainListener;
13 import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
14 import org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode;
15
16 /**
17  * Data Broker which provides data transaction and data change listener functionality
18  * using {@link NormalizedNode} data format.
19  *
20  * <p>
21  * This interface is type capture of generic interfaces and returns type captures
22  * of results for client-code convenience.
23  *
24  * @deprecated Use {@link org.opendaylight.mdsal.dom.api.DOMDataBroker} instead
25  */
26 @Deprecated
27 public interface DOMDataBroker extends
28         AsyncDataBroker<YangInstanceIdentifier, NormalizedNode<?, ?>>,
29         TransactionChainFactory<YangInstanceIdentifier, NormalizedNode<?, ?>>,
30             DOMExtensibleService<DOMDataBroker, DOMDataBrokerExtension> {
31
32     @Override
33     DOMDataReadOnlyTransaction newReadOnlyTransaction();
34
35     @Override
36     DOMDataReadWriteTransaction newReadWriteTransaction();
37
38     @Override
39     DOMDataWriteTransaction newWriteOnlyTransaction();
40
41     @Override
42     DOMTransactionChain createTransactionChain(TransactionChainListener listener);
43 }

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.