Why do you feel that DS disobeys the ServiceFactory contract?

Sent from my BlackBerry

On 19 Nov 2010, at 10:12, Martin Ždila <m.zd...@mwaysolutions.com> wrote:

> On Fri, Nov 19, 2010 at 11:04 AM, Neil Bartlett <njbartl...@gmail.com> wrote:
> Creating objects of different classes based on configuration data is not 
> supported by Declarative Services. The DS runtime always instantiates the 
> class named in the "implementation" element.
> 
> You will need to drop down to the ServiceTracker API to achieve what you are 
> trying to do.
> 
> Thanks for clarification. I wish that DS would obey 
> org.osgi.framework.ServiceFactory contract. Is there a chance to push this to 
> future OSGi specification?
> 
> -- 
> Ing. Martin Ždila 
> CTO
> 
> M-Way Solutions Slovakia s.r.o.
> Letná 27, 040 01 Košice
> Slovakia
> 
> tel:+421-908-363-848
> mailto:m.zd...@mwaysolutions.com
> http://www.mwaysolutions.com
> 
> _______________________________________________
> OSGi Developer Mail List
> osgi-dev@mail.osgi.org
> https://mail.osgi.org/mailman/listinfo/osgi-dev
_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to