站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 connector API Documentation 英文版文档

NullValidConnectionChecker (JBoss Connector API) - JBoss 4.0.1 sp1 connector API Documentation 英文版文档


org.jboss.resource.adapter.jdbc
Class NullValidConnectionChecker

java.lang.Object
  extended byorg.jboss.resource.adapter.jdbc.NullValidConnectionChecker
All Implemented Interfaces:
Serializable, ValidConnectionChecker

public class NullValidConnectionChecker
extends Object
implements ValidConnectionChecker, Serializable

Does not check the connection

Version:
$Revision: 1.3.4.1 $
Author:
Adrian Brock
See Also:
Serialized Form

Constructor Summary
NullValidConnectionChecker()
           
 
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

NullValidConnectionChecker

public NullValidConnectionChecker()
Method Detail

isValidConnection

public SQLException isValidConnection(Connection c)
Description copied from interface: ValidConnectionChecker
Checks the connection is valid

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


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.