tools.xor.providers.jdbc.JDBCConfigDataModel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xor Show documentation
Show all versions of xor Show documentation
Empowering Model Driven Architecture in J2EE applications
package tools.xor.providers.jdbc;
import javax.sql.DataSource;
import tools.xor.TypeMapper;
import tools.xor.service.DataModelFactory;
public class JDBCConfigDataModel extends JDBCDataModel
{
private DataSource dataSource;
public JDBCConfigDataModel (DataModelFactory dasFactory, TypeMapper typeMapper)
{
super(dasFactory, typeMapper);
}
public void setDataSource(DataSource ds) {
this.dataSource = ds;
}
@Override public DataSource getDataSource ()
{
return dataSource;
}
}