]> git.argeo.org Git - gpl/argeo-slc.git/blob - CmsOsgiDeployedSystem.java
8de43540a11ac1a99f64444ad9a55bf1ff931e2f
[gpl/argeo-slc.git] / CmsOsgiDeployedSystem.java
1 package org.argeo.slc.cms.deploy.osgi;
2
3 import org.argeo.slc.build.Distribution;
4 import org.argeo.slc.build.ModularDistribution;
5 import org.argeo.slc.cms.deploy.CmsDeployedSystem;
6 import org.argeo.slc.cms.deploy.CmsDeploymentData;
7 import org.argeo.slc.cms.deploy.CmsTargetData;
8 import org.argeo.slc.deploy.DeploymentData;
9 import org.argeo.slc.deploy.TargetData;
10 import org.osgi.framework.BundleContext;
11
12 public class CmsOsgiDeployedSystem implements CmsDeployedSystem {
13 private ModularDistribution distribution;
14 private CmsTargetData targetData;
15 private CmsDeploymentData deploymentData;
16
17 private BundleContext systemBundleContext;
18
19 public CmsOsgiDeployedSystem(BundleContext systemBundleContext, ModularDistribution distribution,
20 CmsTargetData targetData, CmsDeploymentData deploymentData) {
21 this.systemBundleContext = systemBundleContext;
22
23 this.distribution = distribution;
24 this.targetData = targetData;
25 this.deploymentData = deploymentData;
26 }
27
28 @Override
29 public String getDeployedSystemId() {
30 // TODO Auto-generated method stub
31 return null;
32 }
33
34 @Override
35 public Distribution getDistribution() {
36 return distribution;
37 }
38
39 @Override
40 public DeploymentData getDeploymentData() {
41 return deploymentData;
42 }
43
44 @Override
45 public TargetData getTargetData() {
46 return targetData;
47 }
48
49 }