Class NullValidConnectionChecker
java.lang.Object
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:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionChecks the connection is validMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jboss.jca.adapters.jdbc.spi.ValidConnectionChecker
setQueryTimeout
-
Constructor Details
-
NullValidConnectionChecker
public NullValidConnectionChecker()Constructor
-
-
Method Details
-
isValidConnection
Checks the connection is valid- Specified by:
isValidConnectionin interfaceValidConnectionChecker- Parameters:
c- the connection- Returns:
- Exception when not valid, null when valid
-