Class OracleValidConnectionChecker
- java.lang.Object
-
- org.jboss.jca.adapters.jdbc.extensions.oracle.OracleValidConnectionChecker
-
- All Implemented Interfaces:
Serializable,ValidConnectionChecker
public class OracleValidConnectionChecker extends Object implements ValidConnectionChecker, Serializable
Implements a valid connection checker for Oracle- Author:
- Adrian Brock, Jesper Pedersen
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OracleValidConnectionChecker()Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SQLExceptionisValidConnection(Connection c)Checks the connection is valid
-
-
-
Method Detail
-
isValidConnection
public SQLException isValidConnection(Connection c)
Checks the connection is valid- Specified by:
isValidConnectionin interfaceValidConnectionChecker- Parameters:
c- the connection- Returns:
- Exception when not valid, null when valid
-
-