|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 2 (11.1.2.0.0) E17483-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TransactionListener
Implemented by subscribers to transaction events, generated during the commit and rollback operations.
Entity
,
DBTransaction
,
TransactionEvent
Method Summary | |
---|---|
void |
afterCommit(TransactionEvent e)
Called to report that a Commit operation has occurred. |
void |
afterRemove(TransactionEvent e)
A cleanup routine to be invoked by transaction manager when this transaction listener is removed from the manager's list. |
void |
afterRollback(TransactionEvent e)
Called to report that a Rollback operation has occurred. |
void |
beforeCommit(TransactionEvent e)
Called to report that a Commit operation is imminent. |
void |
beforeRollback(TransactionEvent e)
Called to report that a Rollback operation is imminent. |
boolean |
isTransientTransactionListener()
Tests whether this transaction listener is transient or permanent. |
Method Detail |
---|
void beforeCommit(TransactionEvent e)
e
- a transaction event.void beforeRollback(TransactionEvent e)
e
- a transaction event.void afterCommit(TransactionEvent e)
e
- a transaction event.void afterRollback(TransactionEvent e)
e
- a transaction event.void afterRemove(TransactionEvent e)
e
- a transaction event.boolean isTransientTransactionListener()
Transient listeners are automatically removed at the end of a transaction commit or rollback cycle; permanent listeners remain across these cycles.
true
if the listener is transient.
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 2 (11.1.2.0.0) E17483-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |