public class DefaultOperationListener extends Object implements IOperationListener
IOperationListener
.NO_OP_OPERATION_LISTENER
Constructor and Description |
---|
DefaultOperationListener() |
Modifier and Type | Method and Description |
---|---|
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.
|
void |
operationSetUpFinished(IDatabaseConnection connection)
Notification of the completion of the
IDatabaseTester.onSetup() method. |
void |
operationTearDownFinished(IDatabaseConnection connection)
Notification of the completion of the
IDatabaseTester.onTearDown() method
Should close the given connection if desired. |
public void connectionRetrieved(IDatabaseConnection connection)
IOperationListener
DatabaseConfig
of the connection with user defined parameters.connectionRetrieved
in interface IOperationListener
connection
- The database connectionpublic void operationSetUpFinished(IDatabaseConnection connection)
IOperationListener
IDatabaseTester.onSetup()
method.
Should close the given connection if desired.operationSetUpFinished
in interface IOperationListener
connection
- The database connectionpublic void operationTearDownFinished(IDatabaseConnection connection)
IOperationListener
IDatabaseTester.onTearDown()
method
Should close the given connection if desired.operationTearDownFinished
in interface IOperationListener
connection
- The database connectionCopyright © 2002–2018. All rights reserved.