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

Felix Meschberger closed FELIX-929.
-----------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: scr-1.2.0)
                   scr-1.0.10

Supporting the omission of the name attributes is a declaration issue only. 
Since this has been implemented, this issue can be closed.

> Making name attributes optional
> -------------------------------
>
>                 Key: FELIX-929
>                 URL: https://issues.apache.org/jira/browse/FELIX-929
>             Project: Felix
>          Issue Type: New Feature
>          Components: Declarative Services (SCR)
>    Affects Versions: scr-1.0.6
>         Environment: OSGi RFC-0134, OSGi R4.2 Early Draft 2 
> (http://www.osgi.org/download/osgi-4.2-early-draft2.pdf) 
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: scr-1.0.10
>
>
> To reduce the amount of XML that must be written for a component description, 
> the name attributes of the component and reference elements will be changed 
> from required to optional. This change is only effective for documents in the 
> new namespace.
> The default value of the name attribute of the component element is the value 
> of the class attribute of the nested implementation element.
> The default value of the name attribute of the reference element is the value 
> of the interface attribute of the reference element.

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

Reply via email to