|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjodd.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 ConnectionProviderpublic void close()
ConnectionProvider
close in interface ConnectionProviderpublic java.sql.Connection getConnection()
ConnectionProvider
getConnection in interface ConnectionProviderpublic 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 | ||||||||