|
intarsys runtime library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.intarsys.tools.transaction.CommonTransactionManager
public abstract class CommonTransactionManager
A common superclass for implementing the ITransactionManager.
| Constructor Summary | |
|---|---|
CommonTransactionManager()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CommonTransactionManager()
| Method Detail |
|---|
public void begin()
ITransactionManager
begin in interface ITransactionManager
public void commit()
throws TransactionException
ITransactionManager
commit in interface ITransactionManagerTransactionException
public void commitResume()
throws TransactionException
ITransactionManager
commitResume in interface ITransactionManagerTransactionExceptionpublic ITransaction getTransaction()
ITransactionManager
getTransaction in interface ITransactionManagerpublic void resume(ITransaction transaction)
ITransactionManager
resume in interface ITransactionManager
public void rollback()
throws TransactionException
ITransactionManager
rollback in interface ITransactionManagerTransactionException
public void rollbackResume()
throws TransactionException
ITransactionManager
rollbackResume in interface ITransactionManagerTransactionExceptionpublic ITransaction suspend()
ITransactionManager
suspend in interface ITransactionManager
|
intarsys runtime library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||