1 26 27 package com.opensugar.cube.packageAdmin; 28 29 import com.opensugar.cube.BundleClassLoader; 30 31 import org.osgi.framework.Bundle; 32 33 public class PackageExport implements HasVersion { 34 35 private String name; 36 private String specificationVersion; 37 private Bundle exportingBundle; 38 private BundleClassLoader classLoader; 39 40 public PackageExport( String name, String specificationVersion, Bundle exportingBundle, BundleClassLoader classLoader ) { 41 this.name = name; 42 this.specificationVersion = specificationVersion; 43 this.exportingBundle = exportingBundle; 44 this.classLoader = classLoader; 45 } 46 47 public String getName() { 48 return name; 49 } 50 51 public String getSpecificationVersion() { 52 return specificationVersion; 53 } 54 55 public Bundle getExportingBundle() { 56 return exportingBundle; 57 } 58 59 public BundleClassLoader getClassLoader() { 60 return classLoader; 61 } 62 63 } 64 | Popular Tags |