org.jboss.jca.adapters.jdbc.extensions.oracle
Class OracleValidConnectionChecker
java.lang.Object
org.jboss.jca.adapters.jdbc.extensions.oracle.OracleValidConnectionChecker
- All Implemented Interfaces:
- Serializable, ValidConnectionChecker
public class OracleValidConnectionChecker
- extends Object
- implements ValidConnectionChecker, Serializable
Implements a valid connection checker for Oracle
- Author:
- Adrian Brock, Jesper Pedersen
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OracleValidConnectionChecker
public OracleValidConnectionChecker()
- 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 © 2012 JBoss, by Red Hat (http://www.jboss.org/ironjacamar)