|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IOperationListener
Listener for IDatabaseConnection events.
| Field Summary | |
|---|---|
static IOperationListener |
NO_OP_OPERATION_LISTENER
Simple implementation of the IOperationListener that does not close
the database connection after setUp and tearDown. |
| Method Summary | |
|---|---|
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. |
| Field Detail |
|---|
static final IOperationListener NO_OP_OPERATION_LISTENER
IOperationListener that does not close
the database connection after setUp and tearDown.
Can be used via IDatabaseTester.setOperationListener(IOperationListener) to avoid that connections are closed.
| Method Detail |
|---|
void connectionRetrieved(IDatabaseConnection connection)
DatabaseConfig of the connection with user defined parameters.
connection - The database connectionvoid operationSetUpFinished(IDatabaseConnection connection)
IDatabaseTester.onSetup() method.
Should close the given connection if desired.
connection - The database connectionvoid operationTearDownFinished(IDatabaseConnection connection)
IDatabaseTester.onTearDown() method
Should close the given connection if desired.
connection - The database connection
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||