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 class
BundleDescription.ExportPackage
static class
BundleDescription.FragmentHost
static class
BundleDescription.HeaderEntry
static class
BundleDescription.ImportPackage
static class
BundleDescription.RequireBundle
static class
BundleDescription.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.FragmentHost
getFragmentHost()
Returns Fragment-Host header.java.util.Map
getHeaders()
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.SymbolicName
getSymbolicName()
org.osgi.framework.Version
getVersion()
-
-
-
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()
-
-