David Jencks created FELIX-5152:
-----------------------------------

             Summary: [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)

Reply via email to