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) |
Object |
unwrap(Class 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 Object unwrap(Class c) throws SQLException
unwrap
in interface Wrapper
unwrap
in class AbstractManageableDataSource
SQLException
Copyright © 1996–2019 Geotools. All rights reserved.