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

Clement Escoffier closed FELIX-4216.
------------------------------------


> Allow @Property without name in constructors
> --------------------------------------------
>
>                 Key: FELIX-4216
>                 URL: https://issues.apache.org/jira/browse/FELIX-4216
>             Project: Felix
>          Issue Type: Improvement
>          Components: iPOJO
>    Affects Versions: ipojo-runtime-1.10.1
>            Reporter: Clement Escoffier
>            Assignee: Clement Escoffier
>             Fix For: ipojo-runtime-1.11.0
>
>
> @Property can be used to inject properties within constructor parameters. 
> However, they currecntly require a name:
>     public FooImpl(@Property(name="message") String message) { ... }
> The name attribute should not be required. By relying on FELIX-4215, we 
> should be able to infere the property's name from the parameter name.
> For example,
>     public FooImpl(@Property String message) { ... }
> would be equivalent to the previous snippet.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to