|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PoolableConnectionProvider
Defines an interface responsible for creating PoolableConnection instances.
Method Summary | |
---|---|
PoolableConnection |
createConnection(User user)
Creates a new PoolableConnection instance based on the given user. |
void |
destroyConnection(PoolableConnection connection)
Disconnects the given connection and disposes of any resources it holds. |
Method Detail |
---|
PoolableConnection createConnection(User user) throws ClassNotFoundException, SQLException
user
- the user
ClassNotFoundException
- in case the JDBC driver class was not found
SQLException
- in case of a database exceptionvoid destroyConnection(PoolableConnection connection)
connection
- the connection to destroy
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |