UIServiceTracker¶
-
public class
UIServiceTracker
extends ServiceTracker¶ A tracker created for each bundle with the
Blueprint-Enabled
header in its manifest. This tracker will track theorg.motechproject.osgi.web.UIFrameworkService
, once it becomes active it registers the bundle with it - thanks to this theorg.motechproject.osgi.web.ModuleRegistrationData
beans defined in the modules will be respected and will make the module incorporated into the UI.
Constructors¶
UIServiceTracker¶
-
public
UIServiceTracker
(BundleContext context, ModuleRegistrationData moduleRegistrationData)¶ Constructs the tracker instance for a bundle.
Parameters: - context – the context of the bundle for which this tracker should work
- moduleRegistrationData – the module registration data for the bundle that will be used when registering with the UI service
UIServiceTracker¶
-
public
UIServiceTracker
(BundleContextWrapper wrapper, ModuleRegistrationData moduleRegistrationData)¶ Constructs the tracker instance for a bundle.
Parameters: - wrapper – a wrapper of the context of the bundle for which this tracker should work
- moduleRegistrationData – the module registration data for the bundle that will be used when registering with the UI service