public interface DataSourceFactory extends Configurable
DataSource.| Modifier and Type | Method and Description |
|---|---|
DataSource |
createDataSource()
Creates a new
DataSource |
void |
init(DatabaseConfiguration tempConfig)
Configure the default database by
DatabaseConfiguration |
void |
init(Properties configuration,
String databaseName)
Initializes the database operation class with the given
Properties |
initDataSource createDataSource()
DataSourcevoid init(DatabaseConfiguration tempConfig)
DatabaseConfigurationtempConfig - void init(Properties configuration, String databaseName)
Propertiesconfiguration - The configuration, not nulldatabaseName - Copyright © 2017. All rights reserved.