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 Thu, 09 Jul 2009 10:49:14 GMT

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

Felix Meschberger commented on FELIX-1284:
------------------------------------------

Added declaration support for the "modified" attribute in Rev. 792487 and unit tests in Rev.
792486.

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


Mime
View raw message