code: public static DataSource createDataSource(String source, String type, String... configs){
  		String config = StringUtils.join(configs, " ");
  		return createDataSource(source, type, config);
  	}
docs: Create a data source
  @param source	name of the data source, can be anything
  @param type		type of the data source
  @param configs	configurations, normally paths to configuration files
  @return	the newly created data source