org.jboss.jca.adapters.jdbc.extensions.novendor
Class AlwaysStaleConnectionChecker

java.lang.Object
  extended by 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

Constructor Summary
AlwaysStaleConnectionChecker()
          Constructor
 
Method Summary
 boolean isStaleConnection(SQLException e)
          Is the connection stale
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlwaysStaleConnectionChecker

public AlwaysStaleConnectionChecker()
Constructor

Method Detail

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)