2 * Copyright (c) 2017 Pantheon Technologies s.r.o. and others. All rights reserved.
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
9 package org.opendaylight.mdsal.binding.javav2.api;
11 import com.google.common.annotations.Beta;
12 import org.opendaylight.mdsal.binding.javav2.spec.base.InstanceIdentifier;
13 import org.opendaylight.mdsal.binding.javav2.spec.base.TreeNode;
14 import org.opendaylight.mdsal.common.api.AsyncDataBroker;
15 import org.opendaylight.mdsal.common.api.TransactionChainFactory;
16 import org.opendaylight.mdsal.common.api.TransactionChainListener;
19 * Provides access to a conceptual data tree store and also provides the ability to
20 * subscribe for changes to data under a given branch of the tree.
23 * For more information on usage, please see the documentation in {@link AsyncDataBroker}.
25 * @see AsyncDataBroker
26 * @see TransactionChainFactory
29 public interface DataBroker extends AsyncDataBroker<InstanceIdentifier<?>, TreeNode>, BindingService,
30 TransactionFactory, DataTreeService, TransactionChainFactory<InstanceIdentifier<?>, TreeNode> {
33 ReadTransaction newReadOnlyTransaction();
36 WriteTransaction newWriteOnlyTransaction();
39 BindingTransactionChain createTransactionChain(TransactionChainListener listener);