|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apithefire.sql.connect.DataSourceWrapper
public abstract class DataSourceWrapper
A ConnectionProvider wrapper to provide DataSource interface.
| Constructor Summary | |
|---|---|
DataSourceWrapper(javax.sql.DataSource dataSource)
|
|
| Method Summary | |
|---|---|
java.sql.Connection |
getConnection()
Gets a connection from this connection provider. |
protected javax.sql.DataSource |
getWrappedDataSource()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apithefire.util.lang.Closeable |
|---|
close |
| Constructor Detail |
|---|
public DataSourceWrapper(javax.sql.DataSource dataSource)
| Method Detail |
|---|
protected javax.sql.DataSource getWrappedDataSource()
public java.sql.Connection getConnection()
ConnectionProvider
getConnection in interface ConnectionProvider
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||