|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jodd.db.connection.ConnectionPoolDataSourceConnectionProvider
public class ConnectionPoolDataSourceConnectionProvider
Connection pool data source ConnectionProvider
Constructor Summary | |
---|---|
ConnectionPoolDataSourceConnectionProvider(javax.sql.ConnectionPoolDataSource cpds)
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConnectionPoolDataSourceConnectionProvider(javax.sql.ConnectionPoolDataSource cpds)
Method Detail |
---|
public void init()
ConnectionProvider
init
in interface ConnectionProvider
public void close()
ConnectionProvider
close
in interface ConnectionProvider
public java.sql.Connection getConnection()
ConnectionProvider
getConnection
in interface ConnectionProvider
public void closeConnection(java.sql.Connection conn)
ConnectionProvider
closeConnection
in interface ConnectionProvider
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |