All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface semper.txlayer.transaction.TransactionObserver

public interface TransactionObserver
This is an interface that all TransactionObservers must fulfill in order to be used in the txlayer. Several callback methods are defined which must be implemented. Note, however, that the callback services in the Transaction class may change as our definition of when to callback is not finished.


Method Index

 o onAbort(Transaction)
Is called when the transaction is aborted.
 o onBegin(Transaction)
Is called when the transaction is begun.
 o onCommit(Transaction)
Is called when the transaction makes a commit
 o onEnd(Transaction)
Is called when the transaction is ended.
 o onMakeSave(Transaction)
Is called when the transaction saves its state to persistent storage.
 o onRollback(Transaction)
Is called when the transaction makes a rollback.
 o onSetSignal(Transaction)
Is called when a signal is set in the transaction.

Methods

 o onAbort
 public abstract void onAbort(Transaction t)
Is called when the transaction is aborted.

Parameters:
t - The transaction which is observered
 o onBegin
 public abstract void onBegin(Transaction t)
Is called when the transaction is begun.

Parameters:
t - The transaction which is observered
 o onEnd
 public abstract void onEnd(Transaction t)
Is called when the transaction is ended.

Parameters:
t - The transaction which is observered
 o onRollback
 public abstract void onRollback(Transaction t)
Is called when the transaction makes a rollback.

Parameters:
t - The transaction which is observered
 o onCommit
 public abstract void onCommit(Transaction t)
Is called when the transaction makes a commit

Parameters:
t - The transaction which is observered
 o onMakeSave
 public abstract void onMakeSave(Transaction t)
Is called when the transaction saves its state to persistent storage.

Parameters:
t - The transaction which is observered
 o onSetSignal
 public abstract void onSetSignal(Transaction t)
Is called when a signal is set in the transaction.

Parameters:
t - The transaction which is observered

All Packages  Class Hierarchy  This Package  Previous  Next  Index