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

java.lang.Object
  extended by org.jboss.resource.adapter.jdbc.vendor.OracleValidConnectionChecker
All Implemented Interfaces:
Serializable, ValidConnectionChecker

public class OracleValidConnectionChecker
extends Object
implements ValidConnectionChecker, Serializable

Implements check valid connection sql

Version:
$Revision: 57189 $
Author:
Adrian Brock
See Also:
Serialized Form

Constructor Summary
OracleValidConnectionChecker()
           
 
Method Summary
 SQLException isValidConnection(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 SQLException isValidConnection(Connection c)
Description copied from interface: ValidConnectionChecker
Checks the connection is valid

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


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