|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DataSourceProvider
Resposible for providing a Jdbc DataSource for
org.compass.core.lucene.engine.store.JdbcLuceneSearchEngineStore.
DataSource is a shared data source that should be used throughout
the lifecycle of this class.
| Method Summary | |
|---|---|
void |
closeDataSource()
Closes the created data source. |
void |
configure(String url,
CompassSettings settings)
Configures the data source provider with the give settings and url, the configuration will control the DataSource that will be
instansiated. |
DataSource |
getDataSource()
Retuns an instance of the data source, as per the configuration set for it. |
| Method Detail |
|---|
void configure(String url,
CompassSettings settings)
throws CompassException
DataSource that will be
instansiated.
url - The jdbc url connection stringsettings - The settings for the given data source provider (and the DataSource).
CompassExceptionDataSource getDataSource()
closeDataSource() to close the actual data source.
void closeDataSource()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||