You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Vlad Arkhipov (JIRA)" <ji...@apache.org> on 2011/05/31 07:57:49 UTC

[jira] [Updated] (FELIX-2978) Lookup reference policy does not work for inherited components

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

Vlad Arkhipov updated FELIX-2978:
---------------------------------

    Description: 
org.apache.felix.scrplugin.xml.ComponentDescriptorIO.generateXML(final String namespace,Reference reference, ContentHandler contentHandler, boolean isScrPrivateFile)
does not save strategy property of a reference.
org.apache.felix.scrplugin.xml.ComponentDescriptorIO.XmlHandler.startElement(String uri, String localName, String name, Attributes attributes)
does not load strategy property of a reference.

However org.apache.felix.scrplugin.SCRDescriptorGenerator.execute() uses Reference.isLookupStrategy() to determine the reference's strategy.

  was:
org.apache.felix.scrplugin.xml.ComponentDescriptorIO.generateXML(final String namespace,Reference reference, ContentHandler contentHandler, boolean isScrPrivateFile)
does not save strategy property of a reference, however org.apache.felix.scrplugin.SCRDescriptorGenerator.execute() uses Reference.isLookupStrategy() to determine the reference's strategy.


> Lookup reference policy does not work for inherited components
> --------------------------------------------------------------
>
>                 Key: FELIX-2978
>                 URL: https://issues.apache.org/jira/browse/FELIX-2978
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven SCR Plugin
>    Affects Versions: maven-scr-plugin-1.7.0
>            Reporter: Vlad Arkhipov
>   Original Estimate: 5m
>  Remaining Estimate: 5m
>
> org.apache.felix.scrplugin.xml.ComponentDescriptorIO.generateXML(final String namespace,Reference reference, ContentHandler contentHandler, boolean isScrPrivateFile)
> does not save strategy property of a reference.
> org.apache.felix.scrplugin.xml.ComponentDescriptorIO.XmlHandler.startElement(String uri, String localName, String name, Attributes attributes)
> does not load strategy property of a reference.
> However org.apache.felix.scrplugin.SCRDescriptorGenerator.execute() uses Reference.isLookupStrategy() to determine the reference's strategy.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira