org.unitils.database.config
Interface DataSourceFactory

All Superinterfaces:
Configurable
All Known Implementing Classes:
PropertiesDataSourceFactory

public interface DataSourceFactory
extends Configurable

Defines the contract of a factory that can provide an instance of a test DataSource.

Author:
Filip Neven, Tim Ducheyne

Method Summary
 DataSource createDataSource()
          Creates a new DataSource
 
Methods inherited from interface org.unitils.core.util.Configurable
init
 

Method Detail

createDataSource

DataSource createDataSource()
Creates a new DataSource

Returns:
The DataSource, not null


Copyright © 2011. All Rights Reserved.