当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 connector API Documentation 英文版文档
CheckValidConnectionSQL (JBoss Connector API) - JBoss 4.0.1 sp1 connector API Documentation 英文版文档
org.jboss.resource.adapter.jdbc
Class CheckValidConnectionSQL
java.lang.Object
org.jboss.resource.adapter.jdbc.CheckValidConnectionSQL
- All Implemented Interfaces:
- Serializable, ValidConnectionChecker
- public class CheckValidConnectionSQL
- extends Object
- implements ValidConnectionChecker, Serializable
Implements check valid connection sql
- Version:
- $Revision: 1.3.4.1 $
- Author:
- Adrian Brock
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CheckValidConnectionSQL
public CheckValidConnectionSQL()
CheckValidConnectionSQL
public CheckValidConnectionSQL(String sql)
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.