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

Register ManagedService on behalf of components to receive Configuration

    XMLWordPrintableJSON

Details

    Description

      Currently the SCR calls the ConfigurationAdmin.getConfiguration(servicePid) method on behalf of components to retrieve configuration. If no such configuration exists, this call causes the creation of such configuration which is empty and may never ever be updated in case the component is not prepared to take Configuration from the Configuration Admin (perhaps there is nothing configurable in the component).

      The SCR should instead register a ManagedService on behalf of the component to receive configuration from the Configuration Admin as configuration becomes available. A good side effect of this is, that configuration provided to the component in this way has always passed the Configuration Admin plugins, which is not the case currently.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: