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

Configurations of delayed components are not deactivated if not used any more

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • scr-1.0.8, scr-1.2.0
    • scr-1.2.0
    • None

    Description

      The Declarative Service specification Section 112.5.4, Delayed Component, demands that component configurations of delayed which are not used anymore have to be deactivated:

      If the service registered by a component configuration becomes unused
      because there are no more bundles using it, then SCR should deactivate that
      component configuration. This allows SCR implementations to eagerly
      reclaim activated component configurations.

      Currently only component instances created for service factory components are reclaimed when they are not used anymore. Instances of delayed components are not reclaimed at the moment.

      Attachments

        Activity

          People

            Unassigned Unassigned
            fmeschbe Felix Meschberger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: