Merge "Fixed for bug : 1171 - issue while creating subnet"
[controller.git] / opendaylight / md-sal / sal-binding-api / src / main / java / org / opendaylight / controller / md / sal / binding / api / TransactionFactory.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.binding.api;
8
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;
12
13 public interface TransactionFactory extends AsyncDataTransactionFactory<InstanceIdentifier<?>, DataObject>{
14
15     @Override
16     ReadOnlyTransaction newReadOnlyTransaction();
17
18     @Override
19     ReadWriteTransaction newReadWriteTransaction();
20
21     @Override
22     WriteTransaction newWriteOnlyTransaction();
23
24 }