org.jboss.jca.adapters.jdbc.extensions.mssql

## Class MSSQLValidConnectionChecker

- java.lang.Object
- - org.jboss.jca.adapters.jdbc.extensions.mssql.MSSQLValidConnectionChecker

- All Implemented Interfaces:
    java.io.Serializable, ValidConnectionChecker

      public class MSSQLValidConnectionChecker
      extends java.lang.Object
      implements ValidConnectionChecker, java.io.Serializable

  A MSSQLValidConnectionChecker.
  Version:
    $Revision: 85945 $
  Author:
    Weston Price
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MSSQLValidConnectionChecker()` Constructor

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.sql.SQLException` | `isValidConnection(java.sql.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

    - #### MSSQLValidConnectionChecker

          public MSSQLValidConnectionChecker()

      Constructor

  - ### Method Detail

    - #### isValidConnection

          public java.sql.SQLException isValidConnection(java.sql.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 © 2014 IronJacamar (http://www.ironjacamar.org)