public class SpringManagedTransaction extends Object implements Transaction
| Constructor and Description |
|---|
SpringManagedTransaction() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
commit() |
static SpringManagedTransaction |
get() |
NetconfConnection |
getConnection() |
Integer |
getTimeout() |
static void |
remove() |
void |
rollback() |
static void |
set(SpringManagedTransaction springManagedTransaction) |
public static SpringManagedTransaction get()
public static void set(SpringManagedTransaction springManagedTransaction)
public static void remove()
public NetconfConnection getConnection() throws NetconfException
getConnection in interface TransactionNetconfExceptionpublic void commit()
throws NetconfException
commit in interface TransactionNetconfExceptionpublic void rollback()
throws NetconfException
rollback in interface TransactionNetconfExceptionpublic void close()
throws NetconfException
close in interface TransactionNetconfExceptionpublic Integer getTimeout() throws NetconfException
getTimeout in interface TransactionNetconfExceptionCopyright © 2021 airlenet. All rights reserved.