1 package com.atlassian.activeobjects.internal;
2
3 import com.atlassian.activeobjects.spi.DatabaseType;
4 import net.java.ao.DatabaseProvider;
5
6 import javax.sql.DataSource;
7
8 /**
9 * A factory to create database provider given a data source
10 */
11 public interface DatabaseProviderFactory {
12 DatabaseProvider getDatabaseProvider(DataSource dataSource, DatabaseType databaseType, String schema);
13 }