public final class SoftTransactionManager extends Object
| Constructor and Description |
|---|
SoftTransactionManager() |
| Modifier and Type | Method and Description |
|---|---|
static com.google.common.base.Optional<AbstractSoftTransaction> |
getCurrentTransaction()
Get current transaction.
|
static com.google.common.base.Optional<SoftTransactionConfiguration> |
getCurrentTransactionConfiguration()
Get transaction configuration from current thread.
|
AbstractSoftTransaction |
getTransaction(SoftTransactionType type)
Get B.A.S.E transaction.
|
void |
init()
Initialize B.A.S.E transaction manager.
|
public void init()
throws SQLException
SQLException - SQL exceptionpublic AbstractSoftTransaction getTransaction(SoftTransactionType type)
type - transaction typepublic static com.google.common.base.Optional<SoftTransactionConfiguration> getCurrentTransactionConfiguration()
public static com.google.common.base.Optional<AbstractSoftTransaction> getCurrentTransaction()
Copyright © 2018. All rights reserved.