org.apache.xbean.osgi.bundle.util
Class BundleDescription

java.lang.Object
  extended by 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
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
BundleDescription(java.util.Dictionary dictionary)
           
BundleDescription(java.util.jar.Manifest manifest)
           
BundleDescription(java.util.Map headers)
           
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BundleDescription

public BundleDescription(java.util.jar.Manifest manifest)

BundleDescription

public BundleDescription(java.util.Dictionary dictionary)

BundleDescription

public BundleDescription(java.util.Map headers)
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()


Copyright © 2005-2011. All Rights Reserved.