]> git.argeo.org Git - gpl/argeo-slc.git/blob - org.argeo.slc.core/src/main/java/org/argeo/slc/support/deploy/db/SimpleJdbcDatabase.java
Restructure deployment
[gpl/argeo-slc.git] / org.argeo.slc.core / 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.UnsupportedException;
6 import org.argeo.slc.core.build.Distribution;
7 import org.argeo.slc.core.deploy.AbstractDeployedSystem;
8 import org.argeo.slc.core.deploy.DeployedSystem;
9 import org.argeo.slc.core.deploy.DeploymentData;
10 import org.argeo.slc.core.deploy.TargetData;
11
12 public class SimpleJdbcDatabase extends AbstractDeployedSystem implements
13 JdbcAware {
14 private DataSource dataSource;
15
16 public String getDeployedSystemId() {
17 return dataSource.toString();
18 }
19
20 public DataSource getDataSource() {
21 return dataSource;
22 }
23
24 public void setDataSource(DataSource dataSource) {
25 this.dataSource = dataSource;
26 }
27 }