Hi All,
Could someone please help me with creating OSGi list using java code because I have a start level issues with the order in which I load the bundles, so I need a quick solution and apparently this seems to be quick and dirty way to implement.
For example:
The above code snippet registers the TestService as an OSGi service, I want the code that allows me to create an OSGi listCode:final TestServiceBean testServiceBean = new TestServiceBean(); context.registerService(TestService.class.getName(), testServiceBean, new Hashtable());
Thanks & Regards,Code:<osgi:list id="testPlugins" interface="TestPlugin" cardinality="0..N"> <osgi:listener ref="testService" bind-method="pluginBound" unbind-method="pluginUnbound" /> </osgi:list>
Aravind Chennuru


