KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > test > jca > support > MockFailedValidationConnectionChecker


1 package org.jboss.test.jca.support;
2
3 import java.sql.Connection JavaDoc;
4 import java.sql.SQLException JavaDoc;
5
6 import org.jboss.resource.adapter.jdbc.ValidConnectionChecker;
7
8 public class MockFailedValidationConnectionChecker implements ValidConnectionChecker
9 {
10
11    public SQLException JavaDoc isValidConnection(Connection JavaDoc c)
12    {
13
14       SQLException JavaDoc sqe = new SQLException JavaDoc();
15       return sqe;
16       
17    }
18
19 }
20
Popular Tags