- All Known Implementing Classes:
public interface LogManagerManages the logging of changes made in a single transaction. The
LogManagerFactoryis asked to create a new log manager for each transaction. The same log manager may be re-used but only if it is thread-safe.
- Last modified
- $Date: 2009-08-07 12:50:01 +0200 (fr, 07 aug 2009) $
All Methods Instance Methods Abstract Methods Modifier and Type Method Description
afterCommit()Called after a successful commit of changes to the database.
afterRollback()Called after rollback.
getLogControl()Get the log controller that is used in this transaction.
LogControl getLogControl()Get the log controller that is used in this transaction.
void afterCommit()Called after a successful commit of changes to the database. Note that this method is not called until after the changes have been written to the database and the connection has been closed. If the log manager wants to add information to the database, it must be done before this method is called.
void afterRollback()Called after rollback. Note that this methd is not called until after the connection to the database has been closed, and that any information that the log manager has added to the database have also been rolled back.