public abstract static class DatabaseConnections.DatabaseConnectionTester
extends java.lang.Object
testConnection(java.sql.Connection)
to
peform extra tests on the Connection before it is closed.Constructor and Description |
---|
DatabaseConnections.DatabaseConnectionTester() |
Modifier and Type | Method and Description |
---|---|
abstract void |
testConnection(java.sql.Connection conn)
During the test, if the Connection is successfully made then it is
passed to this method which can then perform extra tests.
|
public DatabaseConnections.DatabaseConnectionTester()
public abstract void testConnection(java.sql.Connection conn) throws ConnectionException
conn
- the connection to testConnectionException
- to fail the test