KickJava   Java API By Example, From Geeks To Geeks.

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


1 package org.jboss.test.jca.support;
2
3 import java.sql.SQLException JavaDoc;
4
5 import org.jboss.resource.adapter.jdbc.StaleConnectionChecker;
6
7 public class MockStaleConnectionCheckerTrue implements StaleConnectionChecker
8 {
9    public boolean isStaleConnection(SQLException JavaDoc e)
10    {
11       return true;
12    }
13    
14
15 }
16
Popular Tags