Class DBCPDataSource

    • Constructor Detail

      • DBCPDataSource

        public DBCPDataSource​(BasicDataSource wrapped)
    • Method Detail

      • getWrapped

        public DataSource getWrapped()
      • 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 c)
                             throws SQLException
        Specified by:
        isWrapperFor in interface Wrapper
        Overrides:
        isWrapperFor in class AbstractManageableDataSource
        Throws:
        SQLException
      • unwrap

        public <T> T unwrap​(Class<T> c)
                     throws SQLException
        Specified by:
        unwrap in interface Wrapper
        Overrides:
        unwrap in class AbstractManageableDataSource
        Throws:
        SQLException