Hi, Luke Patterson schrieb: > On Nov 5, 2009, at 6:46 PM, Felix Meschberger <[email protected]> >> Let me ask one question: Why do you want to access components from >> INSTALLed bundles ? >> >> Regards >> Felix > > Thanks for the quick reply, Felix. > > I'm trying to replace (in a fairly direct manner) Extensions/plugin.xml > lookups with DS. With plugin.xml route, I can get my impls from any > installed bundle, and the impl bundle will be activated when I retrieve > a service from it.
In this case I suggest you declare your bundle with lazy activation policy and just start the bundles. The bundles will then not really be started. Next you should declare you component services to be delayed, such that they are only instantiated when really used. This would also cause your bundles to only be really started (class loaders created, activators called) upon first use. Regards Felix > > Sent from my email client > > --------------------------------------------------------------------- > 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]

