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

Clement Escoffier resolved FELIX-4216.
--------------------------------------

    Resolution: Fixed
    
> 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.10.2
>
>
> @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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to