You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "David Jencks (JIRA)" <ji...@apache.org> on 2016/01/27 02:44:39 UTC

[jira] [Resolved] (FELIX-5152) [DS] bnd meta-annotation to generate felix extension flags in component descriptor

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

David Jencks resolved FELIX-5152.
---------------------------------
    Resolution: Fixed

Added in new scr-ext-anno project in rev 1721877

> [DS] bnd meta-annotation to generate felix extension flags in component descriptor
> ----------------------------------------------------------------------------------
>
>                 Key: FELIX-5152
>                 URL: https://issues.apache.org/jira/browse/FELIX-5152
>             Project: Felix
>          Issue Type: New Feature
>          Components: Declarative Services (SCR)
>            Reporter: David Jencks
>            Assignee: David Jencks
>
> The preferred (and only way for most) to enable felix extension for ds components is with extension attributes in the component xml.  This provides a way of generating these using bnd.
> e.g. adding 
> @DSExt.PersistentFactoryComponent
> at class level adds the appropriate namespace 
> xmlns:felix="http://felix.apache.org/xmlns/scr/extensions/v1.0.0"
> and the attribute
> felix:persistentFactoryComponent="true"
> to the bnd-generated component xml.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)