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
7 package org.opendaylight.controller.md.sal.binding.api;
9 import org.opendaylight.controller.md.sal.common.api.data.AsyncDataTransactionFactory;
10 import org.opendaylight.yangtools.yang.binding.DataObject;
11 import org.opendaylight.yangtools.yang.binding.InstanceIdentifier;
13 public interface TransactionFactory extends AsyncDataTransactionFactory<InstanceIdentifier<?>, DataObject>{
16 ReadOnlyTransaction newReadOnlyTransaction();
19 ReadWriteTransaction newReadWriteTransaction();
22 WriteTransaction newWriteOnlyTransaction();