|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DataSourceFactory
Defines the contract of a factory that can provide an instance of a test DataSource.
| Method Summary | |
|---|---|
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 |
| Methods inherited from interface org.unitils.core.util.Configurable |
|---|
init |
| Method Detail |
|---|
DataSource createDataSource()
DataSource
void init(DatabaseConfiguration tempConfig)
DatabaseConfiguration
tempConfig -
void init(Properties configuration,
String databaseName)
Properties
configuration - The configuration, not nulldatabaseName -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||