felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Göktürk Gezer (JIRA) <j...@apache.org>
Subject [jira] [Commented] (FELIX-3576) iPOJO fails when using constructor injection and expecting BundleContext in ctor
Date Fri, 29 Jun 2012 21:09:44 GMT

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

Göktürk Gezer commented on FELIX-3576:
--------------------------------------

Hi Daan,

I committed the fix. Could you please try it again on trunk, so that we can close the issue
.

Thanks,
                
> iPOJO fails when using constructor injection and expecting BundleContext in ctor
> --------------------------------------------------------------------------------
>
>                 Key: FELIX-3576
>                 URL: https://issues.apache.org/jira/browse/FELIX-3576
>             Project: Felix
>          Issue Type: Bug
>          Components: iPOJO
>    Affects Versions: ipojo-core-1.8.2
>            Reporter: Daan de Wit
>            Assignee: Göktürk Gezer
>
> When using constructor inject, and also expecting BundleContext to be passed into the
constructor, iPOJO gives and error: The constructor parameter 0 is not managed
> The constructor is defined as something like this:
> public Constructor(BundleContext context, @Requires(id="my-id") Dependency1 dep) { /*
... */ }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message