001package io.ebean.datasource.core; 002 003import io.ebean.datasource.pool.ConnectionPool; 004import io.ebean.datasource.DataSourceConfig; 005import io.ebean.datasource.DataSourceFactory; 006import io.ebean.datasource.DataSourcePool; 007 008/** 009 * Service factory implementation. 010 */ 011public class Factory implements DataSourceFactory { 012 013 @Override 014 public DataSourcePool createPool(String name, DataSourceConfig config) { 015 return new ConnectionPool(name, config); 016 } 017}