com.zphinx.spine.start.helpers
Interface DataSourceBuilder

All Known Implementing Classes:
DefaultDataSourceBuilder, MysqlDataSourceBuilder

public interface DataSourceBuilder

DataSourceBuilder is used to create dataSources, it contains a single method which allows it to use the specified properties to instantiate a dataSource instance.

Version:
$1.0

Copyright ©Zphinx Software Solutions

Author:
David Ladapo

Method Summary
 DataSource createDataSource(Map m)
          Instantiate, initialize and return a DataSource
 

Method Detail

createDataSource

DataSource createDataSource(Map m)
Instantiate, initialize and return a DataSource

Parameters:
m - A map containing the parameters needed to create the DataSource
Returns:
The dataSource we have just created and initialized.