org.jboss.resource.adapter.jdbc
Class NullValidConnectionChecker

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

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

Does not check the connection

See Also:
Serialized Form

Constructor Summary
NullValidConnectionChecker()
           
 
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

NullValidConnectionChecker

public NullValidConnectionChecker()
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