org.compass.core.lucene.engine.store.jdbc
Class DbcpDataSourceProvider

java.lang.Object
  extended by org.compass.core.lucene.engine.store.jdbc.AbstractDataSourceProvider
      extended by org.compass.core.lucene.engine.store.jdbc.DbcpDataSourceProvider
All Implemented Interfaces:
DataSourceProvider

public class DbcpDataSourceProvider
extends AbstractDataSourceProvider

A Jakarta Commons Data Source Pool (DBCP) provider.

Author:
kimchy

Field Summary
 
Fields inherited from class org.compass.core.lucene.engine.store.jdbc.AbstractDataSourceProvider
autoCommit, driverClass, externalAutoCommit, password, username
 
Constructor Summary
DbcpDataSourceProvider()
           
 
Method Summary
 void closeDataSource()
          Closes the created data source.
protected  DataSource doCreateDataSource(String url, CompassSettings settings)
           
 
Methods inherited from class org.compass.core.lucene.engine.store.jdbc.AbstractDataSourceProvider
configure, getDataSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DbcpDataSourceProvider

public DbcpDataSourceProvider()
Method Detail

doCreateDataSource

protected DataSource doCreateDataSource(String url,
                                        CompassSettings settings)
                                 throws CompassException
Specified by:
doCreateDataSource in class AbstractDataSourceProvider
Throws:
CompassException

closeDataSource

public void closeDataSource()
Description copied from interface: DataSourceProvider
Closes the created data source.

Specified by:
closeDataSource in interface DataSourceProvider
Overrides:
closeDataSource in class AbstractDataSourceProvider


Copyright (c) 2004-2008 The Compass Project.