]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - runtime/org.argeo.slc.support.osgi/src/main/java/org/argeo/slc/osgi/OsgiBundle.java
Provisioning
[gpl/argeo-slc.git] / runtime / org.argeo.slc.support.osgi / src / main / java / org / argeo / slc / osgi / OsgiBundle.java
index ff90b95b78e122a99037a13a0ed589e18d097e31..745ba76a616218bb244074fb4fc17b4aadf97fde 100644 (file)
@@ -1,7 +1,6 @@
 package org.argeo.slc.osgi;
 
 import org.argeo.slc.build.Distribution;
-import org.argeo.slc.core.build.ResourceDistribution;
 import org.argeo.slc.deploy.DeploymentData;
 import org.argeo.slc.deploy.Module;
 import org.argeo.slc.deploy.TargetData;
@@ -9,7 +8,7 @@ import org.argeo.slc.process.RealizedFlow;
 import org.osgi.framework.Bundle;
 import org.osgi.framework.Constants;
 
-public class OsgiBundle implements Module<ResourceDistribution> {
+public class OsgiBundle implements Module {
        private String name;
        private String version;
        private Distribution distribution;
@@ -20,6 +19,11 @@ public class OsgiBundle implements Module<ResourceDistribution> {
 
        }
 
+       public OsgiBundle(String name, String version) {
+               this.name = name;
+               this.version = version;
+       }
+
        public OsgiBundle(Bundle bundle) {
                name = bundle.getSymbolicName();
                version = bundle.getHeaders().get(Constants.BUNDLE_VERSION).toString();