Did you read the "launching and embedding document for the framework"? This will give you some ideas.

I would give you a pointer, but the web site/wiki seems to be acting up right now.

-> richard

jaredmac wrote:
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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to