|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TransactionListener
An interface that must be implemented by a object that wants to be notified when a significant transaction event occurs.
Method Summary | |
---|---|
boolean |
preCommit()
Notifies registered listener that the transaction is about to commit. |
void |
preRollback()
Notifies registered listener that the transaction is about to rollback. |
Method Detail |
---|
boolean preCommit() throws StandardException
StandardException
- If thrown the commit attempt
will be stopped and instead the transaction will be rolled back.void preRollback() throws StandardException
StandardException
- If thrown the rollback attempt
will be stopped and instead the database will be shut down.
TODO: Define behaviour on exception during rollback.
|
Built on Thu 2010-12-23 20:49:13+0000, from revision ??? | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |