|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.jca.adapters.jdbc.extensions.mysql.MySQLReplicationValidConnectionChecker
public class MySQLReplicationValidConnectionChecker

This class is an implementation of ValidConnectionChecker for MySQL ReplicatedDriver. It supports both isValid and ping methods on the connection object.
Please note that the isValid method requires java 6 classes to be present.
The code was inspired by MySQLValidConnectionChecker. See it's javadoc for authors info. This code is released under the LGPL license.
| Constructor Summary | |
|---|---|
MySQLReplicationValidConnectionChecker()
Initiates the ValidConnectionChecker implementation. |
|
| 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 |
|---|
public MySQLReplicationValidConnectionChecker()
| Method Detail |
|---|
public SQLException isValidConnection(Connection c)
isValidConnection in interface ValidConnectionCheckerc - the connection
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||