felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daan de Wit (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FELIX-3812) constructor injection does not work for properties
Date Tue, 11 Dec 2012 08:39:22 GMT
Daan de Wit created FELIX-3812:

             Summary: constructor injection does not work for properties
                 Key: FELIX-3812
                 URL: https://issues.apache.org/jira/browse/FELIX-3812
             Project: Felix
          Issue Type: Bug
          Components: iPOJO
    Affects Versions: ipojo-core-1.8.4, ipojo-core-1.8.2
            Reporter: Daan de Wit

Constructor injection does not work for properties, iPOJO tries to find a constructor that
also has an InstanceManager-argument. 

createInstance -> Cannot invoke the constructor (method not found) : package.ClassName.<init>(org.apache.felix.ipojo.InstanceManager,
java.lang.NoSuchMethodException: package.ClassName.<init>(org.apache.felix.ipojo.InstanceManager,
	at java.lang.Class.getConstructor0(Class.java:2706)
	at java.lang.Class.getDeclaredConstructor(Class.java:1985)

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

View raw message