|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--safejdbc.DataSourceAdapter
This class is a Adapter for DataSources to provide the ConnectionProvider interface. It is especially usefull in an J2EE Enviornment.
Constructor Summary | |
DataSourceAdapter(javax.sql.DataSource datasource)
|
Method Summary | |
java.sql.Connection |
getConnection()
This method is called to actually give the connection |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DataSourceAdapter(javax.sql.DataSource datasource)
Method Detail |
public java.sql.Connection getConnection() throws java.sql.SQLException
ConnectionProvider
getConnection
in interface ConnectionProvider
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |