public interface ConnectionProvider
Implementors might also implement connection pooling.
Implementations should provide a public default constructor.
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes a provider and releases all its resources.
|
void |
closeConnection(java.sql.Connection connection)
Dispose of a used
connection. |
java.sql.Connection |
getConnection()
Get a connection.
|
void |
init()
Initialize the connection provider.
|
void init()
java.sql.Connection getConnection()
void closeConnection(java.sql.Connection connection)
connection.void close()
Copyright © 2003-2013 Jodd Team