org.jboss.jca.adapters.jdbc.extensions.postgres
Class PostgreSQLValidConnectionChecker

java.lang.Object
  extended by org.jboss.jca.adapters.jdbc.extensions.postgres.PostgreSQLValidConnectionChecker
All Implemented Interfaces:
Serializable, ValidConnectionChecker

public class PostgreSQLValidConnectionChecker
extends Object
implements ValidConnectionChecker, Serializable

A PostgreSQLValidConnectionChecker.

Version:
$Revision: 71554 $
Author:
Weston Price
See Also:
Serialized Form

Constructor Summary
PostgreSQLValidConnectionChecker()
          Constructor
 
Method Summary
 SQLException isValidConnection(Connection c)
          Checks the connection is valid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PostgreSQLValidConnectionChecker

public PostgreSQLValidConnectionChecker()
Constructor

Method Detail

isValidConnection

public SQLException isValidConnection(Connection c)
Checks the connection is valid

Specified by:
isValidConnection in interface ValidConnectionChecker
Parameters:
c - the connection
Returns:
Exception when not valid, null when valid


Copyright © 2008 Red Hat Middleware LLC (http://www.jboss.com/)