org.jboss.jca.adapters.jdbc.extensions.db2
Class DB2ValidConnectionChecker
java.lang.Object
org.jboss.jca.adapters.jdbc.extensions.db2.DB2ValidConnectionChecker
- All Implemented Interfaces:
- Serializable, ValidConnectionChecker
public class DB2ValidConnectionChecker
- extends Object
- implements ValidConnectionChecker, Serializable
A DB2ValidConnectionChecker.
- Version:
- $Revision: 71554 $
- Author:
- Weston Price
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DB2ValidConnectionChecker
public DB2ValidConnectionChecker()
- Constructor
isValidConnection
public SQLException isValidConnection(Connection c)
- Checks the connection is valid
- Specified by:
isValidConnection in interface ValidConnectionChecker
- Parameters:
c - the connection
- Returns:
- Exception when not valid, null when valid
Copyright © 2008 Red Hat Middleware LLC (http://www.jboss.com/)