X-Git-Url: https://git.argeo.org/?a=blobdiff_plain;f=org.argeo.slc.cms%2Fsrc%2Forg%2Fargeo%2Fslc%2Fcms%2Fdeploy%2Fosgi%2FOsgiCmsDeployedSystem.java;fp=org.argeo.slc.cms%2Fsrc%2Forg%2Fargeo%2Fslc%2Fcms%2Fdeploy%2Fosgi%2FOsgiCmsDeployedSystem.java;h=c925a544b4ad3ab8aba8665248a5dc72f4a38e6d;hb=753604c3ba7481e4bdf1e87f1ffc5e0eec9b18ba;hp=0000000000000000000000000000000000000000;hpb=78b23e3b26cd1d20dc648c48ebb31abd397670c7;p=gpl%2Fargeo-slc.git diff --git a/org.argeo.slc.cms/src/org/argeo/slc/cms/deploy/osgi/OsgiCmsDeployedSystem.java b/org.argeo.slc.cms/src/org/argeo/slc/cms/deploy/osgi/OsgiCmsDeployedSystem.java new file mode 100644 index 000000000..c925a544b --- /dev/null +++ b/org.argeo.slc.cms/src/org/argeo/slc/cms/deploy/osgi/OsgiCmsDeployedSystem.java @@ -0,0 +1,50 @@ +package org.argeo.slc.cms.deploy.osgi; + +import org.argeo.slc.build.Distribution; +import org.argeo.slc.build.ModularDistribution; +import org.argeo.slc.cms.deploy.CmsDeployedSystem; +import org.argeo.slc.cms.deploy.CmsDeploymentData; +import org.argeo.slc.cms.deploy.CmsTargetData; +import org.argeo.slc.deploy.DeploymentData; +import org.argeo.slc.deploy.TargetData; +import org.osgi.framework.BundleContext; + +/** A deployed OSGi-based Argeo CMS system. */ +public class OsgiCmsDeployedSystem implements CmsDeployedSystem { + private ModularDistribution distribution; + private CmsTargetData targetData; + private CmsDeploymentData deploymentData; + + private BundleContext systemBundleContext; + + public OsgiCmsDeployedSystem(BundleContext systemBundleContext, ModularDistribution distribution, + CmsTargetData targetData, CmsDeploymentData deploymentData) { + this.systemBundleContext = systemBundleContext; + + this.distribution = distribution; + this.targetData = targetData; + this.deploymentData = deploymentData; + } + + @Override + public String getDeployedSystemId() { + // TODO Auto-generated method stub + return null; + } + + @Override + public Distribution getDistribution() { + return distribution; + } + + @Override + public DeploymentData getDeploymentData() { + return deploymentData; + } + + @Override + public TargetData getTargetData() { + return targetData; + } + +}