Class OracleLegacyValidConnectionChecker
java.lang.Object
org.jboss.jca.adapters.jdbc.extensions.oracle.OracleLegacyValidConnectionChecker
- All Implemented Interfaces:
Serializable,ValidConnectionChecker
public class OracleLegacyValidConnectionChecker
extends Object
implements ValidConnectionChecker, Serializable
Implements a valid connection checker for Oracle.
This is a legacy implementation which uses a pingDatabase method.
- Author:
- Adrian Brock, Jesper Pedersen
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionChecks the connection is valid
-
Constructor Details
-
OracleLegacyValidConnectionChecker
public OracleLegacyValidConnectionChecker()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
-