Class BundleDescription
- java.lang.Object
-
- org.apache.xbean.osgi.bundle.util.BundleDescription
-
public class BundleDescription extends java.lang.Object- Version:
- $Rev: 937957 $, $Date: 2010-04-26 10:00:08 +0200 (Mon, 26 Apr 2010) $
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBundleDescription.ExportPackagestatic classBundleDescription.FragmentHoststatic classBundleDescription.HeaderEntrystatic classBundleDescription.ImportPackagestatic classBundleDescription.RequireBundlestatic classBundleDescription.SymbolicName
-
Constructor Summary
Constructors Constructor Description BundleDescription(java.util.Dictionary dictionary)BundleDescription(java.util.jar.Manifest manifest)BundleDescription(java.util.Map headers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<BundleDescription.HeaderEntry>getBundleClassPath()Returns a list of paths that are listed in Bundle-ClassPath header.java.util.List<BundleDescription.HeaderEntry>getDynamicImportPackage()Returns a list of packages that are listed in DynamicImport-Package header.java.util.List<BundleDescription.ExportPackage>getExportPackage()Returns a list of packages that are listed in Export-Package header.java.util.List<BundleDescription.ImportPackage>getExternalImports()Returns a list of packages that are listed in Import-Package header and are not listed in Export-Package header.BundleDescription.FragmentHostgetFragmentHost()Returns Fragment-Host header.java.util.MapgetHeaders()java.util.List<BundleDescription.ImportPackage>getImportPackage()Returns a list of packages that are listed in Import-Package header.java.util.List<BundleDescription.RequireBundle>getRequireBundle()Returns a list of bundle names that are listed in Require-Bundle header.BundleDescription.SymbolicNamegetSymbolicName()org.osgi.framework.VersiongetVersion()
-
-
-
Method Detail
-
getImportPackage
public java.util.List<BundleDescription.ImportPackage> getImportPackage()
Returns a list of packages that are listed in Import-Package header.
-
getExportPackage
public java.util.List<BundleDescription.ExportPackage> getExportPackage()
Returns a list of packages that are listed in Export-Package header.
-
getExternalImports
public java.util.List<BundleDescription.ImportPackage> getExternalImports()
Returns a list of packages that are listed in Import-Package header and are not listed in Export-Package header.
-
getRequireBundle
public java.util.List<BundleDescription.RequireBundle> getRequireBundle()
Returns a list of bundle names that are listed in Require-Bundle header.
-
getFragmentHost
public BundleDescription.FragmentHost getFragmentHost()
Returns Fragment-Host header.
-
getDynamicImportPackage
public java.util.List<BundleDescription.HeaderEntry> getDynamicImportPackage()
Returns a list of packages that are listed in DynamicImport-Package header.
-
getBundleClassPath
public java.util.List<BundleDescription.HeaderEntry> getBundleClassPath()
Returns a list of paths that are listed in Bundle-ClassPath header.
-
getSymbolicName
public BundleDescription.SymbolicName getSymbolicName()
-
getVersion
public org.osgi.framework.Version getVersion()
-
getHeaders
public java.util.Map getHeaders()
-
-