org.jboss.jca.adapters.jdbc.extensions.novendor
Class AlwaysStaleConnectionChecker
java.lang.Object
org.jboss.jca.adapters.jdbc.extensions.novendor.AlwaysStaleConnectionChecker
- All Implemented Interfaces:
- Serializable, StaleConnectionChecker
public class AlwaysStaleConnectionChecker
- extends Object
- implements StaleConnectionChecker, Serializable
AlwaysStaleConnectionChecker.
- Author:
- Jesper Pedersen
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AlwaysStaleConnectionChecker
public AlwaysStaleConnectionChecker()
- Constructor
isStaleConnection
public boolean isStaleConnection(SQLException e)
- Is the connection stale
- Specified by:
isStaleConnection in interface StaleConnectionChecker
- Parameters:
e - the java.sql.SQLException
- Returns:
- is the connection stale
Copyright © 2012 JBoss, by Red Hat (http://www.jboss.org/ironjacamar)