You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Daan de Wit (JIRA)" <ji...@apache.org> on 2013/02/06 09:21:12 UTC

[jira] [Commented] (FELIX-3575) iPOJO: Constructor injection does not work for non-interface dependencies

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

Daan de Wit commented on FELIX-3575:
------------------------------------

Hi,

Any progress on the review part?
About the proxying interfaceless classes: Mockito for example is perfectly able to do so, so it is possible (don't know exactly how they implemented it though)
                
> iPOJO: Constructor injection does not work for non-interface dependencies
> -------------------------------------------------------------------------
>
>                 Key: FELIX-3575
>                 URL: https://issues.apache.org/jira/browse/FELIX-3575
>             Project: Felix
>          Issue Type: Bug
>          Components: iPOJO
>    Affects Versions: ipojo-core-1.8.2
>            Reporter: Daan de Wit
>
> We have quite a few services that do not publish any interface (these services are private to their bundle). But that does not work when using constructor injection. It is unable to find the constructor: package.ClassName.<init>(org.apache.felix.ipojo.InstanceManager, null)

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