BlueprintApplicationContextTracker¶
-
public class
BlueprintApplicationContextTrackerextends ApplicationContextTracker¶ The
BlueprintApplicationContextTrackerclass tracks application contexts, which are registered as services by the Gemini extender. This is the main processor for MOTECH modules. For each module it will create anorg.motechproject.osgi.web.HttpServiceTrackerand aorg.motechproject.osgi.web.UIServiceTracker. These trackers will be responsible for registering the module withorg.osgi.service.http.HttpService(so that they can expose an HTTP endpoint) and theorg.motechproject.osgi.web.UIFrameworkService(so that they can register their UI) respectively. This module also uses theorg.motechproject.osgi.web.Log4JBundleLoaderfor loading log4j configuration files from the registered modules. The processing is only performed for bundles that have theBlueprint-Enabledheader in their manifest.
Constructors¶
BlueprintApplicationContextTracker¶
-
public
BlueprintApplicationContextTracker(BundleContext context)¶
Methods¶
addingService¶
-
public Object
addingService(ServiceReference serviceReference)¶
removedService¶
-
public void
removedService(ServiceReference reference, Object service)¶