|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.data.jdbc.datasource.AbstractManageableDataSource
org.geotools.data.jdbc.datasource.DBCPDataSource
public class DBCPDataSource
A closeable wrapper around BasicDataSource
Field Summary |
---|
Fields inherited from class org.geotools.data.jdbc.datasource.AbstractManageableDataSource |
---|
wrapped |
Constructor Summary | |
---|---|
DBCPDataSource(org.apache.commons.dbcp.BasicDataSource wrapped)
|
Method Summary | |
---|---|
void |
close()
Closes up the datasource, frees all of its resources. |
boolean |
isWrapperFor(java.lang.Class type)
|
java.lang.Object |
unwrap(java.lang.Class type)
|
Methods inherited from class org.geotools.data.jdbc.datasource.AbstractManageableDataSource |
---|
getConnection, getConnection, getLoginTimeout, getLogWriter, setLoginTimeout, setLogWriter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DBCPDataSource(org.apache.commons.dbcp.BasicDataSource wrapped)
Method Detail |
---|
public void close() throws java.sql.SQLException
ManageableDataSource
java.sql.SQLException
public boolean isWrapperFor(java.lang.Class type) throws java.sql.SQLException
isWrapperFor
in interface java.sql.Wrapper
isWrapperFor
in class AbstractManageableDataSource
java.sql.SQLException
public java.lang.Object unwrap(java.lang.Class type) throws java.sql.SQLException
unwrap
in interface java.sql.Wrapper
unwrap
in class AbstractManageableDataSource
java.sql.SQLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |