org.geotools.data.jdbc.datasource
Class DBCPDataSource
Object
AbstractManageableDataSource
DBCPDataSource
- All Implemented Interfaces:
- DataSource, ManageableDataSource
public class DBCPDataSource
- extends AbstractManageableDataSource
A closeable wrapper around BasicDataSource
- Author:
- Administrator
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DBCPDataSource
public DBCPDataSource(BasicDataSource wrapped)
close
public void close()
throws SQLException
- Description copied from interface:
ManageableDataSource
- Closes up the datasource, frees all of its resources. No other connection
can be gathered from this DataSource once close() has been called
- Throws:
SQLException
isWrapperFor
public boolean isWrapperFor(Class type)
throws SQLException
- Overrides:
isWrapperFor
in class AbstractManageableDataSource
- Throws:
SQLException
unwrap
public Object unwrap(Class type)
throws SQLException
- Overrides:
unwrap
in class AbstractManageableDataSource
- Throws:
SQLException
Copyright © 1996-2009 Geotools. All Rights Reserved.