Package org.dbunit

Interface IOperationListener

All Known Implementing Classes:
DefaultOperationListener

public interface IOperationListener
Listener for IDatabaseConnection events.
Since:
2.4.4
Version:
$Revision$ $Date$
Author:
gommma (gommma AT users.sourceforge.net), Last changed by: $Author$
  • Field Details

  • Method Details

    • connectionRetrieved

      void connectionRetrieved(IDatabaseConnection connection)
      Is invoked immediately after a connection was newly created or an existing connection is retrieved to do some work on it. It should be used to initialize the DatabaseConfig of the connection with user defined parameters.
      Parameters:
      connection - The database connection
      Since:
      2.4.4
    • operationSetUpFinished

      void operationSetUpFinished(IDatabaseConnection connection)
      Notification of the completion of the IDatabaseTester.onSetup() method. Should close the given connection if desired.
      Parameters:
      connection - The database connection
      Since:
      2.4.4
    • operationTearDownFinished

      void operationTearDownFinished(IDatabaseConnection connection)
      Notification of the completion of the IDatabaseTester.onTearDown() method Should close the given connection if desired.
      Parameters:
      connection - The database connection
      Since:
      2.4.4