Class DbLogManager

  • All Implemented Interfaces:
    LogManager

    public class DbLogManager
    extends Object
    implements LogManager
    Log manager implementation that logs changes to the database.
    Version:
    2.13
    Author:
    Nicklas
    Last modified
    $Date: 2013-11-22 10:36:49 +0100 (fr, 22 nov 2013) $
    • Constructor Detail

      • DbLogManager

        public DbLogManager​(LogControl logControl)
    • Method Detail

      • afterCommit

        public void afterCommit()
        Description copied from interface: LogManager
        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.
        Specified by:
        afterCommit in interface LogManager
      • afterRollback

        public void afterRollback()
        Description copied from interface: LogManager
        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.
        Specified by:
        afterRollback in interface LogManager
      • createHistory

        private void createHistory()