|
SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.solarmetric.rd.jdbc.NonPoolingConnectionPool
Implements the ConnectionPool interface but doesn't actually
perform any pooling.
| Constructor Summary | |
NonPoolingConnectionPool()
|
|
| Method Summary | |
void |
close()
Free the resources used by this pool. |
java.sql.Connection |
getConnection(com.solarmetric.rd.jdbc.ConnectionRequestInfo cri)
Return a connection matching the given request info. |
com.solarmetric.rd.jdbc.DataSourceImpl |
getDataSource()
Return the data source set with setDataSource(com.solarmetric.rd.jdbc.DataSourceImpl). |
void |
returnConnection(java.sql.Connection conn)
Connections can use this method to return themselves on close. |
void |
setDataSource(com.solarmetric.rd.jdbc.DataSourceImpl ds)
This method will be called before the pool is used. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public NonPoolingConnectionPool()
| Method Detail |
public void setDataSource(com.solarmetric.rd.jdbc.DataSourceImpl ds)
ConnectionPool
setDataSource in interface ConnectionPoolpublic com.solarmetric.rd.jdbc.DataSourceImpl getDataSource()
ConnectionPoolConnectionPool.setDataSource(com.solarmetric.rd.jdbc.DataSourceImpl).
getDataSource in interface ConnectionPool
public java.sql.Connection getConnection(com.solarmetric.rd.jdbc.ConnectionRequestInfo cri)
throws java.sql.SQLException
ConnectionPool
getConnection in interface ConnectionPooljava.sql.SQLExceptionpublic void returnConnection(java.sql.Connection conn)
ConnectionPool
returnConnection in interface ConnectionPoolpublic void close()
ConnectionPool
close in interface ConnectionPool
|
SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||