Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-4964

[DS] Reactivate component at most once per service event

    XMLWordPrintableJSON

    Details

      Description

      When a component has several references to the same service (most likely scenario is field references for object, properties, service ref all for the same service) and a service event results in the component being deactivated and activated (such as a static reference being replaced by another) then we should only reactivate the component instance once.

      The solution I have in mind involves distributing events to the service trackers for the components in a bundle through the BundleComponentActivator and tracking the components that need to be activated with the event. Once all the relevant service trackers have been notified, we can try to activate all the components relevant to that service event.

        Attachments

          Activity

            People

            • Assignee:
              djencks David Jencks
              Reporter:
              djencks David Jencks
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: