- * Called when ModuleFactory is registered to config manager.
- * Useful for populating the registry with pre-existing state. Since
- * the method is called for each ModuleFactory separately and transaction
- * is committed automatically, returned modules MUST be valid and commitable
- * without any manual intervention.
- * @param dependencyResolverFactory factory for getting dependency resolvers for each module.
+ * Called when ModuleFactory is registered to config manager. Useful for
+ * populating the registry with pre-existing state. Since the method is called
+ * for each ModuleFactory separately and transaction is committed automatically,
+ * returned modules MUST be valid and commitable without any manual
+ * intervention.
+ *
+ * @param dependencyResolverFactory
+ * factory for getting dependency resolvers for each module.
+ * @param bundleContext
+ * Reference to OSGi bundleContext that can be used to acquire OSGi
+ * services, startup configuration and other OSGi related
+ * information.
+ *