public class DBCPDataSource extends AbstractManageableDataSource
BasicDataSource
wrapped
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, setLogWriter
public DataSource getWrapped()
public void close() throws SQLException
ManageableDataSource
SQLException
public boolean isWrapperFor(Class c) throws SQLException
isWrapperFor
in interface Wrapper
isWrapperFor
in class AbstractManageableDataSource
SQLException
public <T> T unwrap(Class<T> c) throws SQLException
unwrap
in interface Wrapper
unwrap
in class AbstractManageableDataSource
SQLException
Copyright © 1996–2023 Geotools. All rights reserved.