UIServiceTrackers¶
-
public class
UIServiceTrackers¶ The registry that handles
UIServiceTrackerinstances created for bundles withBlueprint-Enabledheader in their manifest.See also:
UIServiceTracker
Constructors¶
UIServiceTrackers¶
-
public
UIServiceTrackers(BundleContext bundleContext)¶ Constructs the registry and registers a bundle listener that will remove trackers for bundles that are stopping.
Parameters: - bundleContext – the bundle context used to register the bundle listener
Methods¶
addTrackerFor¶
-
public UIServiceTracker
addTrackerFor(Bundle bundle, ApplicationContext applicationContext)¶ Creates a
UIServiceTrackerfor the given bundle. Theorg.motechproject.osgi.web.ModuleRegistrationDatafrom the provided Spring context of the bundle will be used for registering the UI.Parameters: - bundle – the bundle to create the tracker for
- applicationContext – the Spring context of the bundle
Returns: the newly created
UIServiceTrackerinstance