[
https://issues.apache.org/jira/browse/FELIX-1284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Felix Meschberger resolved FELIX-1284.
--------------------------------------
Resolution: Fixed
Add support to call a modified method in Rev. 798529. Before calling the
method, the dependency managers are asked whether they are ok with dynamic
configuration update.
If dynamic configuration update is not possible, the component is reactivated
(as before).
This should complete the implementation for dynamic configuration update.
> Support for the 'modified' operation (DS in OSGi 4.2 compendium)
> ----------------------------------------------------------------
>
> Key: FELIX-1284
> URL: https://issues.apache.org/jira/browse/FELIX-1284
> Project: Felix
> Issue Type: New Feature
> Components: Declarative Services (SCR), Specification compliance
> Reporter: Erin Schnabel
> Assignee: Felix Meschberger
> Fix For: scr-1.2.0
>
>
> 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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.