You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2008/06/05 08:03:45 UTC

[jira] Updated: (FELIX-593) Fix handling of immediate attribute of component factories

     [ https://issues.apache.org/jira/browse/FELIX-593?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler updated FELIX-593:
-----------------------------------

    Summary: Fix handling of immediate attribute of component factories  (was: Fix handling of immedaite attribute of component factories)

> Fix handling of immediate attribute of component factories
> ----------------------------------------------------------
>
>                 Key: FELIX-593
>                 URL: https://issues.apache.org/jira/browse/FELIX-593
>             Project: Felix
>          Issue Type: Bug
>          Components: Declarative Services (SCR), Maven SCR Plugin
>    Affects Versions: maven-scr-plugin-1.0.4, scr-1.0.0
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: maven-scr-plugin-1.0.5, scr-1.0.1
>
>
> According to the clarification regarding the immediate attribute of the <component> element of a Declarative services component, the validation of the component element has to be changed.
> Currently the validation assumes this definition of the immediate attribute 112.4.3:
> "immediate - Controls whether component configurations must be immediately activated after becoming satisfied or whether activation should be delayed. The default value is false if the service element is specified and true otherwise. If this attribute is specified, its value must be true unless the service element is also specified."
> which does not take into account factory components.
> A better description would be:
> "immediate - Controls whether component configurations must be immediately activated after becoming satisfied or whether activation should be delayed. The default value is false if the factory attribute or if the service element is specified and true otherwise. If this attribute is specified, its value must be false if the factory attribute is also specified or must be true unless the service element is also specified."
> This means:
> * The "scr" ComponentMetadata class must assume a different default value for the immediate attribute for component factories and validate differently.
> * The "maven-scr-plugin" Component class must assume a different default value for the immediate attribute for component factories and validate differently.
> [1] http://www.mail-archive.com/osgi-dev@mail.osgi.org/msg00092.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.