]> git.argeo.org Git - gpl/argeo-slc.git/blob - runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/support/deploy/db/SimpleJdbcDatabase.java
Introduce org.argeo.slc.specs
[gpl/argeo-slc.git] / runtime / org.argeo.slc.specs / src / main / java / org / argeo / slc / support / deploy / db / SimpleJdbcDatabase.java
1 package org.argeo.slc.support.deploy.db;
2
3 import javax.sql.DataSource;
4
5 import org.argeo.slc.core.deploy.AbstractDeployedSystem;
6
7 public class SimpleJdbcDatabase extends AbstractDeployedSystem implements
8 JdbcAware {
9 private DataSource dataSource;
10
11 public String getDeployedSystemId() {
12 return dataSource.toString();
13 }
14
15 public DataSource getDataSource() {
16 return dataSource;
17 }
18
19 public void setDataSource(DataSource dataSource) {
20 this.dataSource = dataSource;
21 }
22 }