Package com.lucidworks.apollo.sql
Interface DataSourceProvider
public interface DataSourceProvider
manages the creation and caretaking of data sources as described by their descriptors
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.commons.dbcp2.BasicDataSourceget(DataSourceDescriptor dsd) retrieve a BasicDataSource instance that fullfills the configuration of the provided DataSourceDescriptor
-
Method Details
-
get
org.apache.commons.dbcp2.BasicDataSource get(DataSourceDescriptor dsd) throws ExecutionException, SQLException retrieve a BasicDataSource instance that fullfills the configuration of the provided DataSourceDescriptor- Parameters:
dsd-- Returns:
- Throws:
ExecutionExceptionSQLException
-