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

Support for the 'modified' operation (DS in OSGi 4.2 compendium)

    XMLWordPrintableJSON

Details

    Description

      112.5.11-12, 112.7.1 from 4.2 Compendium spec (numbers may be slightly different-- these are from the May 6 draft).

      Modifying a component configuration can occur if

      • the component description specifies the modified attribute and
      • the component properties of the component configuration use a Configuration object from the Configuration Admin service and
      • that Configuration object is modified without causing the component configuration to become unsatisfied.

      If this occurs, the component instance will be notified of the change in the component properties.

      If the modified attribute is not specified, then the component configuration will become unsatisfied if its component properties use a Configuration object and that Configuration object is modified in any way.

      Basically: you can specify a 'modified' attribute/method that should be called when ConfigAdmin pushes a changed configuration for a component, instead of deactivating and then re-activating the component on a configuration change.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: