public class DBCPDataSource extends AbstractManageableDataSource
BasicDataSourcewrapped| Constructor and Description |
|---|
DBCPDataSource(BasicDataSource wrapped) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes up the datasource, frees all of its resources.
|
DataSource |
getWrapped() |
boolean |
isWrapperFor(Class c) |
<T> T |
unwrap(Class<T> c) |
getConnection, getConnection, getLoginTimeout, getLogWriter, getParentLogger, setLoginTimeout, setLogWriterpublic DataSource getWrapped()
public void close()
throws SQLException
ManageableDataSourceSQLExceptionpublic boolean isWrapperFor(Class c) throws SQLException
isWrapperFor in interface WrapperisWrapperFor in class AbstractManageableDataSourceSQLExceptionpublic <T> T unwrap(Class<T> c) throws SQLException
unwrap in interface Wrapperunwrap in class AbstractManageableDataSourceSQLExceptionCopyright © 1996–2021 Geotools. All rights reserved.