UIServiceTrackers¶
-
public class
UIServiceTrackers
¶ The registry that handles
UIServiceTracker
instances created for bundles withBlueprint-Enabled
header 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
UIServiceTracker
for the given bundle. Theorg.motechproject.osgi.web.ModuleRegistrationData
from 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
UIServiceTracker
instance