org.jboss.resource.adapter.jdbc
Interface ValidConnectionChecker

All Known Implementing Classes:
CheckValidConnectionSQL, MySQLValidConnectionChecker, NullValidConnectionChecker, OracleValidConnectionChecker, PostgreSQLValidConnectionChecker

public interface ValidConnectionChecker

Checks that a connection is valid

Version:
$Revision: 1.3.4.2 $
Author:
Adrian Brock

Method Summary
 SQLException isValidConnection(Connection c)
          Checks the connection is valid
 

Method Detail

isValidConnection

SQLException isValidConnection(Connection c)
Checks the connection is valid

Parameters:
c - the connection
Returns:
Exception when not valid, null when valid


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.