public abstract class Transaction extends Object implements ITransaction, Serializable
"Transactional" tasks are delegated to the IResource instances
managed by the transaction.
| Modifier and Type | Method and Description |
|---|---|
void |
commit()
Commit all changes that belong to this transaction.
|
void |
commitResume()
Commit all changes that belong to this transaction.
|
void |
delist(IResource resource) |
void |
enlist(IResource resource) |
String |
getId() |
void |
rollback()
Rollback all changes that belong to this transaction.
|
void |
rollbackResume()
Rollback all changes that belong to this transaction.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetParentpublic void commit()
throws TransactionException
ITransactioncommit in interface ITransactionTransactionExceptionpublic void commitResume()
throws TransactionException
ITransactioncommitResume in interface ITransactionTransactionExceptionpublic void delist(IResource resource) throws TransactionException
TransactionExceptionpublic void enlist(IResource resource) throws TransactionException
TransactionExceptionpublic String getId()
public void rollback()
throws TransactionException
ITransactionrollback in interface ITransactionTransactionExceptionpublic void rollbackResume()
throws TransactionException
ITransactionrollbackResume in interface ITransactionTransactionExceptionCopyright © 2013 intarsys consulting GmbH. All Rights Reserved.