Hi,

It's a bug :-(. I've planned to fix it very soon (may be this weekend or at least at the beginning of the next week). In fact, it imposes to get an empty constructor when another constructor exists.
I just opened a jira issue about that (Felix-1024).

Thanks !

Regards,

Clement

On 03.04.2009, at 18:40, Mathieu Civel wrote:

Hi,

I'm currently trying the iPOJO API (recently built) as I want to build
dynamic components.

Actually its works great, but it seems that the POJO class should have an
empty constructor in order to allow service registration.

I get a "*NoSuchMethodException : [...] createInstance -> Cannot invoke the
constructor (method not found)*" if I add some parameters in the
constructor. And it works well without parameters. This exception happen
when I try to get a object from the implemented service reference.

Is that a wanted behaviour or did I miss something ?

Thanks.

Mathieu Civel.


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

Reply via email to