void addDataSource ( DataSource dataSource ) { if ( dataSource == null ) return ; this . dataSources . add ( new DataSourceDefinition ( dataSource . name ( ) , dataSource . driverClass ( ) , dataSource . url ( ) , dataSource . username ( ) , dataSource . password ( ) ) ) ; }
Adds a DataSource