|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.agileclick.genorm.runtime.DataSourceWrapper
org.agileclick.genorm.runtime.LeakDetectorDataSource
public class LeakDetectorDataSource
| Constructor Summary | |
|---|---|
LeakDetectorDataSource(javax.sql.DataSource ds,
int stackStart,
int stackStop)
|
|
| Method Summary | |
|---|---|
java.sql.Connection |
getConnection()
|
int |
listOpenConnections()
Goes through all open db connections and prints out the ones that are still open. |
| Methods inherited from class org.agileclick.genorm.runtime.DataSourceWrapper |
|---|
getConnection, getLoginTimeout, getLogWriter, setLoginTimeout, setLogWriter |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LeakDetectorDataSource(javax.sql.DataSource ds,
int stackStart,
int stackStop)
| Method Detail |
|---|
public java.sql.Connection getConnection()
throws java.sql.SQLException
getConnection in interface javax.sql.DataSourcegetConnection in class DataSourceWrapperjava.sql.SQLException
public int listOpenConnections()
throws java.sql.SQLException
java.sql.SQLException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||