|
||||||||||
| 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 | |
|---|---|
java.sql.Connection |
getConnection(SpyConfig conf)
Get a new connection. |
void |
returnConnection(java.sql.Connection conn)
Return a connection. |
| Method Detail |
|---|
java.sql.Connection getConnection(SpyConfig conf)
throws java.sql.SQLException
conf - a SpyConfig describing the connection that needs to be
fetched.
java.sql.SQLException - if a connection could not be obtainedvoid returnConnection(java.sql.Connection conn)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||