[ 
https://issues.apache.org/jira/browse/FELIX-2742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12974650#action_12974650
 ] 

Clement Escoffier commented on FELIX-2742:
------------------------------------------

Resolved in trunk:

@Component
@Instantiate
public class Test {
        public Test(
                        @Requires LogService log,
                        @Property(value="this is injected using a constructor 
parameter") String message,
                        @Property(value="2") int level,
                        @Requires(optional=true) Runnable run,
                        @Property(value="{1,2,3}") String[] add
        ) {
                ...
        }

> Constructor injection of service dependencies
> ---------------------------------------------
>
>                 Key: FELIX-2742
>                 URL: https://issues.apache.org/jira/browse/FELIX-2742
>             Project: Felix
>          Issue Type: New Feature
>          Components: iPOJO
>            Reporter: Clement Escoffier
>            Assignee: Clement Escoffier
>             Fix For: iPOJO-1.8.0
>
>
> Allow services to be injected into constructor parameters

-- 
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