org.jboss.resource.adapter.jdbc.vendor
Class OracleValidConnectionChecker

java.lang.Object
  extended byorg.jboss.resource.adapter.jdbc.vendor.OracleValidConnectionChecker
All Implemented Interfaces:
java.io.Serializable, ValidConnectionChecker (src)

public class OracleValidConnectionChecker
extends java.lang.Object
implements ValidConnectionChecker (src) , java.io.Serializable

Implements check valid connection sql

See Also:
Serialized Form

Constructor Summary
OracleValidConnectionChecker()
           
 
Method Summary
 java.sql.SQLException isValidConnection(java.sql.Connection c)
          Checks the connection is valid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OracleValidConnectionChecker

public OracleValidConnectionChecker()
Method Detail

isValidConnection

public java.sql.SQLException isValidConnection(java.sql.Connection c)
Description copied from interface: ValidConnectionChecker (src)
Checks the connection is valid

Specified by:
isValidConnection in interface ValidConnectionChecker (src)
Parameters:
c - the connection
Returns:
Exception when not valid, null when valid