|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.cdo.transaction.CDODefaultTransactionHandler2
public abstract class CDODefaultTransactionHandler2
An empty default implementation of CDOTransactionHandler2
.
Constructor Summary | |
---|---|
protected |
CDODefaultTransactionHandler2()
|
Method Summary | |
---|---|
void |
committedTransaction(CDOTransaction transaction,
CDOCommitContext commitContext)
Called by a CDOTransaction after it is being committed. |
void |
committingTransaction(CDOTransaction transaction,
CDOCommitContext commitContext)
Called by a CDOTransaction before it is being committed. |
void |
rolledBackTransaction(CDOTransaction transaction)
Called by a CDOTransaction after it is rolled back. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected CDODefaultTransactionHandler2()
Method Detail |
---|
public void committingTransaction(CDOTransaction transaction, CDOCommitContext commitContext)
CDOTransactionHandler2
CDOTransaction
before it is being committed. The implementor of this method is
allowed to throw an unchecked exception that will propagate up to the operation that is about to commit the
transaction (thereby preventing the operation from completing successfully). The implementor of this method is
allowed to apply changes to the object graph managed by the transaction.
committingTransaction
in interface CDOTransactionHandler2
public void rolledBackTransaction(CDOTransaction transaction)
CDOTransactionHandler2
CDOTransaction
after it is rolled back. If the implementor of this method throws an
exception it will be logged as an error and subsequent handlers will be further called.
rolledBackTransaction
in interface CDOTransactionHandler2
public void committedTransaction(CDOTransaction transaction, CDOCommitContext commitContext)
CDOTransactionHandler2
CDOTransaction
after it is being committed. The implementor of this method is
not allowed to throw an unchecked exception.
committedTransaction
in interface CDOTransactionHandler2
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |