org.knopflerfish.framework.RequiredBundleImpl Class Reference

Inheritance diagram for org.knopflerfish.framework.RequiredBundleImpl:

org.osgi.service.packageadmin.RequiredBundle

List of all members.


Detailed Description

Implementation for required bundle interface.

Definition at line 46 of file RequiredBundleImpl.java.


Public Member Functions

String getSymbolicName ()
 Returns the symbolic name of this required bundle.
Bundle getBundle ()
 Returns the bundle associated with this required bundle.
Bundle[] getRequiringBundles ()
 Returns the bundles that currently require this required bundle.
Version getVersion ()
 Returns the version of this required bundle.
boolean isRemovalPending ()
 Returns true if the bundle associated with this RequiredBundle object has been updated or uninstalled.

Member Function Documentation

String org.knopflerfish.framework.RequiredBundleImpl.getSymbolicName (  ) 

Returns the symbolic name of this required bundle.

Returns:
The symbolic name of this required bundle.

Implements org.osgi.service.packageadmin.RequiredBundle.

Definition at line 66 of file RequiredBundleImpl.java.

References org.knopflerfish.framework.BundlePackages.bundle, and org.knopflerfish.framework.BundleImpl.symbolicName.

Bundle org.knopflerfish.framework.RequiredBundleImpl.getBundle (  ) 

Returns the bundle associated with this required bundle.

Returns:
The bundle, or null if this RequiredBundle object has become stale.

Implements org.osgi.service.packageadmin.RequiredBundle.

Definition at line 77 of file RequiredBundleImpl.java.

References org.knopflerfish.framework.BundlePackages.bundle, and org.knopflerfish.framework.BundlePackages.isRegistered().

Bundle [] org.knopflerfish.framework.RequiredBundleImpl.getRequiringBundles (  ) 

Returns the bundles that currently require this required bundle.

If this required bundle is required and then re-exported by another bundle then all the requiring bundles of the re-exporting bundle are included in the returned array.

Returns:
An array of bundles currently requiring this required bundle, or null if this RequiredBundle object has become stale.

Implements org.osgi.service.packageadmin.RequiredBundle.

Definition at line 98 of file RequiredBundleImpl.java.

References org.knopflerfish.framework.BundlePackages.getRequiredBy(), and org.knopflerfish.framework.BundlePackages.isRegistered().

Version org.knopflerfish.framework.RequiredBundleImpl.getVersion (  ) 

Returns the version of this required bundle.

Returns:
The version of this required bundle, or Version#emptyVersion if no version information is available.

Implements org.osgi.service.packageadmin.RequiredBundle.

Definition at line 118 of file RequiredBundleImpl.java.

References org.knopflerfish.framework.BundlePackages.bundle, and org.knopflerfish.framework.BundleImpl.version.

boolean org.knopflerfish.framework.RequiredBundleImpl.isRemovalPending (  ) 

Returns true if the bundle associated with this RequiredBundle object has been updated or uninstalled.

Returns:
true if the reqiured bundle has been updated or uninstalled, or if the RequiredBundle object has become stale; false otherwise.

Implements org.osgi.service.packageadmin.RequiredBundle.

Definition at line 131 of file RequiredBundleImpl.java.

References org.knopflerfish.framework.BundleImpl.bpkgs, and org.knopflerfish.framework.BundlePackages.bundle.


The documentation for this class was generated from the following file:
Generated on Mon Jan 11 21:19:19 2010 for OpenMobileIS by  doxygen 1.5.4