|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ConnectionSource
Interface for classes that will create database connections.
| Method Summary | |
|---|---|
Connection |
getConnection(SpyConfig conf)
Get a new connection. |
void |
returnConnection(Connection conn)
Return a connection. |
| Method Detail |
|---|
Connection getConnection(SpyConfig conf)
throws SQLException
conf - a SpyConfig describing the connection that needs to be
fetched.
SQLException - if a connection could not be obtainedvoid returnConnection(Connection conn)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||