public abstract class CommonTransactionManager extends Object implements ITransactionManager
ITransactionManager.| Constructor and Description |
|---|
CommonTransactionManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
begin()
Begin a new transaction in the current context.
|
void |
commit()
Commit the currently active transaction.
|
void |
commitResume()
Commit and resume the currently active transaction.
|
ITransaction |
getTransaction()
The currently active transaction.
|
void |
resume(ITransaction transaction)
Resume a suspended transaction.
|
void |
rollback()
Rollback the currently active transaction.
|
void |
rollbackResume()
Rollback and resume the currently active transaction.
|
ITransaction |
suspend()
Suspend the currently active transaction.
|
public void begin()
ITransactionManagerbegin in interface ITransactionManagerpublic void commit()
throws TransactionException
ITransactionManagercommit in interface ITransactionManagerTransactionExceptionpublic void commitResume()
throws TransactionException
ITransactionManagercommitResume in interface ITransactionManagerTransactionExceptionpublic ITransaction getTransaction()
ITransactionManagergetTransaction in interface ITransactionManagerpublic void resume(ITransaction transaction)
ITransactionManagerresume in interface ITransactionManagerpublic void rollback()
throws TransactionException
ITransactionManagerrollback in interface ITransactionManagerTransactionExceptionpublic void rollbackResume()
throws TransactionException
ITransactionManagerrollbackResume in interface ITransactionManagerTransactionExceptionpublic ITransaction suspend()
ITransactionManagersuspend in interface ITransactionManagerCopyright © 2013 intarsys consulting GmbH. All Rights Reserved.