I have an application in which non-bundle code would like to access registered services/bundles loaded by Felix. For example, I have Bundle X whose activate() method gets a reference to all the currently registered implementers of Interface Y. Can other non-bundle parts of the application code get that list of implementers from Bundle X?
The trivial approach wherein Bundle X puts the list of implementors in some static variable does not work because Bundle X is loaded via a separate classloader from the application. What is the best practice, short of having every part of the application be a bundle, for non-bundles to get at the bundles? Thanks, Jared -- View this message in context: http://www.nabble.com/Best-practice-for-non-bundle-code-to-access-bundles--tp16012389p16012389.html Sent from the Apache Felix - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]