Class ListStaleConnectionChecker
java.lang.Object
org.jboss.jca.adapters.jdbc.extensions.novendor.ListStaleConnectionChecker
- All Implemented Interfaces:
Serializable,StaleConnectionChecker
public class ListStaleConnectionChecker
extends Object
implements StaleConnectionChecker, Serializable
- Version:
- $Revision: 75423 $
- Author:
- John Lee
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanIs the connection stalevoidset set via <config-property name="StaleExceptions">10099,10100,10101</> Set the stale exceptions
-
Constructor Details
-
ListStaleConnectionChecker
public ListStaleConnectionChecker()Constructor
-
-
Method Details
-
setStaleExceptions
set set via <config-property name="StaleExceptions">10099,10100,10101</> Set the stale exceptions- Parameters:
s- The value
-
isStaleConnection
Is the connection stale- Specified by:
isStaleConnectionin interfaceStaleConnectionChecker- Parameters:
e- thejava.sql.SQLException- Returns:
- is the connection stale
-