Package org.dbunit
Class DefaultOperationListener
java.lang.Object
org.dbunit.DefaultOperationListener
- All Implemented Interfaces:
IOperationListener
Default implementation of the
IOperationListener.- Since:
- 2.4.4
- Version:
- $Revision$ $Date$
- Author:
- gommma (gommma AT users.sourceforge.net), Last changed by: $Author$
-
Field Summary
Fields inherited from interface org.dbunit.IOperationListener
NO_OP_OPERATION_LISTENER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconnectionRetrieved(IDatabaseConnection connection) Is invoked immediately after a connection was newly created or an existing connection is retrieved to do some work on it.voidoperationSetUpFinished(IDatabaseConnection connection) Notification of the completion of theIDatabaseTester.onSetup()method.voidoperationTearDownFinished(IDatabaseConnection connection) Notification of the completion of theIDatabaseTester.onTearDown()method Should close the given connection if desired.
-
Constructor Details
-
DefaultOperationListener
public DefaultOperationListener()
-
-
Method Details
-
connectionRetrieved
Description copied from interface:IOperationListenerIs 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 theDatabaseConfigof the connection with user defined parameters.- Specified by:
connectionRetrievedin interfaceIOperationListener- Parameters:
connection- The database connection
-
operationSetUpFinished
Description copied from interface:IOperationListenerNotification of the completion of theIDatabaseTester.onSetup()method. Should close the given connection if desired.- Specified by:
operationSetUpFinishedin interfaceIOperationListener- Parameters:
connection- The database connection
-
operationTearDownFinished
Description copied from interface:IOperationListenerNotification of the completion of theIDatabaseTester.onTearDown()method Should close the given connection if desired.- Specified by:
operationTearDownFinishedin interfaceIOperationListener- Parameters:
connection- The database connection
-