|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ConnectionProvider
A generic strategy for obtaining JDBC connections.
Implementors might also implement connection pooling.
Implementations should provide a public default constructor.
| Method Summary | |
|---|---|
void |
close()
Closes a provider and releases all its resources. |
void |
closeConnection(java.sql.Connection conn)
Dispose of a used connection. |
java.sql.Connection |
getConnection()
Get a connection. |
void |
init()
Initialize the connection provider. |
| Method Detail |
|---|
void init()
java.sql.Connection getConnection()
void closeConnection(java.sql.Connection conn)
void close()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||