play.db.DataSourceFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of framework Show documentation
Show all versions of framework Show documentation
RePlay is a fork of the Play1 framework, created by Codeborne.
package play.db;
import javax.sql.DataSource;
import java.beans.PropertyVetoException;
import java.sql.SQLException;
public interface DataSourceFactory {
DataSource createDataSource(Configuration dbConfig) throws PropertyVetoException, SQLException;
String getStatus() throws SQLException;
String getDriverClass(DataSource ds);
String getJdbcUrl(DataSource ds);
String getUser(DataSource ds);
}