org.jboss.jca.adapters.jdbc.extensions.novendor
Class NullValidConnectionChecker

java.lang.Object
  extended by org.jboss.jca.adapters.jdbc.extensions.novendor.NullValidConnectionChecker
All Implemented Interfaces:
Serializable, ValidConnectionChecker

public class NullValidConnectionChecker
extends Object
implements ValidConnectionChecker, Serializable

Does not check the connection

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

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

NullValidConnectionChecker

public NullValidConnectionChecker()
Constructor

Method Detail

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/)