com.zphinx.spine.start.helpers.impl
Class MysqlDataSourceBuilder

java.lang.Object
  extended by com.zphinx.spine.start.helpers.impl.MysqlDataSourceBuilder
All Implemented Interfaces:
DataSourceBuilder

public class MysqlDataSourceBuilder
extends Object
implements DataSourceBuilder

MysqlDataSourceBuilder is the DataSourceBuilder used to create a Mysql DataSource by the spine system

Version:
$1.0

Copyright ©Zphinx Software Solutions

Author:
David Ladapo

Constructor Summary
MysqlDataSourceBuilder()
          Public Constructor
 
Method Summary
 DataSource createDataSource(Map map)
          Instantiate, initialize and return a DataSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MysqlDataSourceBuilder

public MysqlDataSourceBuilder()
Public Constructor

Method Detail

createDataSource

public DataSource createDataSource(Map map)
Description copied from interface: DataSourceBuilder
Instantiate, initialize and return a DataSource

Specified by:
createDataSource in interface DataSourceBuilder
Parameters:
map - A map containing the parameters needed to create the DataSource
Returns:
The dataSource we have just created and initialized.