I was indeed using the 1.0 namespace, which does not support the extra 
parameter.
Changing the XML to the 1.1 namespace fixed it.

Thank you!

Mihai



----- Original Message ----
> From: Felix Meschberger <[email protected]>
> To: [email protected]
> Sent: Thu, January 14, 2010 5:13:32 PM
> Subject: Re: SCR bind() method does not accep the 'Map properties' parameter
> 
> Hi,
> 
> Are your sure, your components are declared with the DS 1.1 namespace
> (http://www.osgi.org/xmlns/scr/v1.1.0) ?
> 
> The new signatures are not supported for components declared in the
> original DS 1.0 namespace.
> 
> Regards
> Felix
> 
> 
> On 14.01.2010 16:07, Mihai Tarce wrote:
> > Hello,
> > 
> > I'm using Felix 2.0.1, together with the Felix SCR bundle, version 1.4.0. I 
> declare a
> > number of component conforming to the Declarative Services specification, 
> which
> > works fine.
> > 
> > However, the components which have a bind() method with the following 
> signature:
> > 
> > bindMethod(TypeOfComponent component, Map properties)
> > 
> > are not found by the SCR, and it outputs the following error message:
> > 
> > bind method [bindMethod] not found
> > 
> > 
> > Issue #927 discusses this, but is marked as solved in version 1.2.0:
> > 
> > http://issues.apache.org/jira/browse/FELIX-927
> > 
> > Any ideas?
> > 
> > Mihai
> > 
> > 
> > 
> >      
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
> > 
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]



      

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

Reply via email to