Hi,

I encountered the error "A methodID cannot be associated with a method from
the POJO class".

I am using iPojo 1.6.4, and the error seems to happen when I specify a
factory method on my components (with annotation like
@Component(...,factory_method="getInstance")

I try to debug a little bit and I found that in the method
getMethodById(String methodId) of the InstanceManager where this message is
logged, the methodId parameter contains the fully qualified name of my
class, not a method name. If I look at the createObject() method, when a
factory method is specified, this is indeed the classname that is passed to
the onEntry() method (that seems to expect a method name).

I am not sure at all to understand what's really goes on in the code and if
this strange parameter really causes the error.

Thanks.
-- 
View this message in context: 
http://old.nabble.com/iPojo---A-methodID-cannot-be-associated-with-a-method-from-the-POJO-class-tp31325587p31325587.html
Sent from the Apache Felix - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to