org.knopflerfish.framework.ExportPkg Class Reference

List of all members.


Detailed Description

Data structure for export package definitions.

Author:
Jan Stein

Definition at line 48 of file ExportPkg.java.


Public Member Functions

String pkgString ()
 String describing package name and specification version, if specified.
String toString ()
 String describing this object.

Package Functions

 ExportPkg (String name, Map tokens, BundlePackages b)
 Create an export package entry.
 ExportPkg (ExportPkg ep, String name)
 Create an export package entry with a new name from an export template.
 ExportPkg (ExportPkg ep, BundlePackages b)
 Create a re-export package entry with a new bundle owner from an existing export.
synchronized void attachPkg (Pkg p)
 Attach this to a Pkg object which indicate that it is exported.
synchronized void detachPkg ()
 Detach this from a Pkg object which indicate that it is no longer exported.
boolean checkFilter (String fullClassName)
 Checks if we are allowed to export this class according to the filter rules.
synchronized boolean isProvider ()
 Check if ExportPkg is provider of a package.
synchronized Collection getPackageImporters ()
 Get active importers of a package.

Member Function Documentation

synchronized boolean org.knopflerfish.framework.ExportPkg.isProvider (  )  [package]

Check if ExportPkg is provider of a package.

Returns:
True if pkg exports the package.

Definition at line 194 of file ExportPkg.java.

References org.knopflerfish.framework.Pkg.providers.

Referenced by org.knopflerfish.framework.ExportedPackageImpl.isRemovalPending().

synchronized Collection org.knopflerfish.framework.ExportPkg.getPackageImporters (  )  [package]

Get active importers of a package.

Parameters:
pkg Package.
Returns:
List of bundles importering, null export is not active.

Definition at line 211 of file ExportPkg.java.

References org.knopflerfish.framework.ImportPkg.bpkgs, org.knopflerfish.framework.BundlePackages.bundle, org.knopflerfish.framework.Pkg.importers, and org.knopflerfish.framework.ImportPkg.provider.

Referenced by org.knopflerfish.framework.ExportedPackageImpl.getImportingBundles(), and org.knopflerfish.framework.Packages.getZombieAffected().

String org.knopflerfish.framework.ExportPkg.pkgString (  ) 

String describing package name and specification version, if specified.

Returns:
String.

Definition at line 236 of file ExportPkg.java.

References org.osgi.framework.Version.emptyVersion.

Referenced by org.knopflerfish.framework.ExportPkg.toString().

String org.knopflerfish.framework.ExportPkg.toString (  ) 

String describing this object.

Returns:
String.

Definition at line 250 of file ExportPkg.java.

References org.knopflerfish.framework.ExportPkg.pkgString(), and org.knopflerfish.framework.BundlePackages.toString().


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