On Fri, Nov 19, 2010 at 11:04 AM, Neil Bartlett <[email protected]>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:[email protected] http://www.mwaysolutions.com
_______________________________________________ OSGi Developer Mail List [email protected] https://mail.osgi.org/mailman/listinfo/osgi-dev
