Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

oracle.jbo.server
Interface TransactionListener

All Known Subinterfaces:
Entity
All Known Implementing Classes:
ApplicationModuleImpl, EntityImpl, EntityReplayItemPublisher, ViewObjectImpl

public interface TransactionListener


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

beforeCommit

void beforeCommit(TransactionEvent e)
Called to report that a Commit operation is imminent.

Parameters:
e - a transaction event.

beforeRollback

void beforeRollback(TransactionEvent e)
Called to report that a Rollback operation is imminent.

Parameters:
e - a transaction event.

afterCommit

void afterCommit(TransactionEvent e)
Called to report that a Commit operation has occurred.

Parameters:
e - a transaction event.

afterRollback

void afterRollback(TransactionEvent e)
Called to report that a Rollback operation has occurred.

Parameters:
e - a transaction event.

afterRemove

void afterRemove(TransactionEvent e)
A cleanup routine to be invoked by transaction manager when this transaction listener is removed from the manager's list.

Parameters:
e - a transaction event.

isTransientTransactionListener

boolean isTransientTransactionListener()
Tests whether this transaction listener is transient or permanent.

Transient listeners are automatically removed at the end of a transaction commit or rollback cycle; permanent listeners remain across these cycles.

Returns:
true if the listener is transient.

Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.