felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Meschberger (JIRA)" <j...@apache.org>
Subject [jira] Commented: (FELIX-1284) Support for the 'modified' operation (DS in OSGi 4.2 compendium)
Date Tue, 28 Jul 2009 14:03:14 GMT

    [ https://issues.apache.org/jira/browse/FELIX-1284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12736075#action_12736075

Felix Meschberger commented on FELIX-1284:

In Rev. 798526 added support to the DependencyManager class to be able to verify that dynamic
configuration update is possible from the point of view of references. Point is, that new
configuration may change the reference target properties, which may cause a component to become
unsatisifed or require re-binding of static references.

> 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
> 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.

View raw message