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-3575) iPOJO: Constructor injection does not work for non-interface dependencies
Date Sat, 30 Jun 2012 04:16:47 GMT

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

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

Hi,
This is a design decision by default: Constructor injections must be proxy object that interfaceless
classes can't be. I've managed to implement some workaround but i'm not sure i can commit
it without further review !
                
> 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: 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