org.apache.xbean.osgi.bundle.util
public class BundleDescription extends java.lang.Object
Modifier and Type | Class and 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 and Description |
---|
BundleDescription(java.util.Dictionary dictionary) |
BundleDescription(java.util.jar.Manifest manifest) |
BundleDescription(java.util.Map headers) |
Modifier and Type | Method and 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() |
public BundleDescription(java.util.jar.Manifest manifest)
public BundleDescription(java.util.Dictionary dictionary)
public BundleDescription(java.util.Map headers)
public java.util.List<BundleDescription.ImportPackage> getImportPackage()
public java.util.List<BundleDescription.ExportPackage> getExportPackage()
public java.util.List<BundleDescription.ImportPackage> getExternalImports()
public java.util.List<BundleDescription.RequireBundle> getRequireBundle()
public BundleDescription.FragmentHost getFragmentHost()
public java.util.List<BundleDescription.HeaderEntry> getDynamicImportPackage()
public java.util.List<BundleDescription.HeaderEntry> getBundleClassPath()
public BundleDescription.SymbolicName getSymbolicName()
public org.osgi.framework.Version getVersion()
public java.util.Map getHeaders()
Copyright © 2005-2014. All Rights Reserved.