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 2018/04/30 08:14:00 UTC

[jira] [Closed] (FELIX-5590) [R7] Add support for single value annotations and new key mapping

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

Carsten Ziegeler closed FELIX-5590.
-----------------------------------

> [R7] Add support for single value annotations and new key mapping
> -----------------------------------------------------------------
>
>                 Key: FELIX-5590
>                 URL: https://issues.apache.org/jira/browse/FELIX-5590
>             Project: Felix
>          Issue Type: Sub-task
>          Components: Declarative Services (SCR)
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>            Priority: Major
>             Fix For: scr-2.1.0
>
>
> R7 defines a new mapping for annotation method name to property key name:
> $_$ is converted to a hyphen
> In addition single value annotations come with a mapping from the type name to the property key name for the value() method
> If the annotation has a constant named "PREFIX_" the value of it is prepended before every key name (with the exception of single value annotations)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)