9c7deaf406fb955bcb43339a784f1b17748579cf
[controller.git] / opendaylight / md-sal / sal-dom-api / src / main / java / org / opendaylight / controller / sal / core / api / data / DataBrokerService.java
1 /*
2  * Copyright (c) 2013 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.api.data;
9
10 import org.opendaylight.controller.md.sal.common.api.data.DataChangePublisher;
11 import org.opendaylight.controller.md.sal.common.api.data.DataModificationTransactionFactory;
12 import org.opendaylight.controller.md.sal.common.api.data.DataReader;
13 import org.opendaylight.controller.sal.core.api.BrokerService;
14 import org.opendaylight.yangtools.yang.data.api.CompositeNode;
15 import org.opendaylight.yangtools.yang.data.api.InstanceIdentifier;
16
17
18 /**
19  * DataBrokerService provides unified access to the data stores available in the
20  * system.
21  *
22  *
23  * @see DataProviderService
24  * @deprecated Replaced by {@link org.opendaylight.controller.md.sal.dom.api.DOMDataBroker}
25  *
26  */
27 @Deprecated
28 public interface DataBrokerService extends
29     BrokerService, //
30     DataReader<InstanceIdentifier, CompositeNode>, //
31     DataModificationTransactionFactory<InstanceIdentifier, CompositeNode>, //
32     DataChangePublisher<InstanceIdentifier, CompositeNode, DataChangeListener> {
33
34
35     @Override
36     public CompositeNode readConfigurationData(InstanceIdentifier path);
37
38     @Override
39     public CompositeNode readOperationalData(InstanceIdentifier path);
40
41     @Override
42     DataModificationTransaction beginTransaction();
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.