BUG-1092: adjust to YangInstanceIdentifier
[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  * This program and the accompanying materials are made available under the
4  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
5  * and is available at http://www.eclipse.org/legal/epl-v10.html
6  */
7 package org.opendaylight.controller.md.sal.dom.api;
8
9 import org.opendaylight.controller.md.sal.common.api.data.AsyncDataBroker;
10 import org.opendaylight.controller.md.sal.common.api.data.TransactionChainFactory;
11 import org.opendaylight.controller.md.sal.common.api.data.TransactionChainListener;
12 import org.opendaylight.controller.sal.core.api.BrokerService;
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 fuctionality
18  * using {@link NormalizedNode} data format.
19  *
20  * This interface is type capture of generic interfaces and returns type captures
21  * of results for client-code convenience.
22  *
23  */
24 public interface DOMDataBroker extends
25         AsyncDataBroker<YangInstanceIdentifier, NormalizedNode<?, ?>, DOMDataChangeListener>,
26         TransactionChainFactory<YangInstanceIdentifier, NormalizedNode<?, ?>>, BrokerService, DOMService {
27
28     /**
29      * {@inheritDoc}
30      */
31     @Override
32     DOMDataReadOnlyTransaction newReadOnlyTransaction();
33
34     /**
35      * {@inheritDoc}
36      */
37     @Override
38     DOMDataReadWriteTransaction newReadWriteTransaction();
39
40     /**
41      * {@inheritDoc}
42      */
43     @Override
44     DOMDataWriteTransaction newWriteOnlyTransaction();
45
46     /**
47      * {@inheritDoc}
48      */
49     @Override
50     DOMTransactionChain createTransactionChain(TransactionChainListener listener);
51 }

©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.