|
|
|
|
Re: How to run the Equinox OSGi framework from within usual java code?!? [message #132021 is a reply to message #131998] |
Fri, 29 May 2009 01:25  |
Eclipse User |
|
|
|
Simon Kaegi wrote:
> re: Am I pushing Equinox too far?
> Maybe. Being able to create class loaders is fairly funadamental to Equinox.
> If you want to run under a security manager like what you describe you have
> to grant the classes that bootstraps the platform All Permissions or you're
> going to run into problems. I've done this in the past so can confirm it
> works however it's something to be aware of.
> -Simon
Unfortunately granting permissions is not an option. Ironically, the
environment I'm referring is based on a spec from the embedded software
domain, and OSGI was originally designed to be run as embedded framework.
As I mentioned classloaders are allowed but only of a particular type, so
in theory it should be possible to delegate classloader instantiation to
outside the framework in some way so that a proper type can be used.
Hacking Equinox is an option of course, but I'm going to look into other
OSGI implementations first.
-Vladimir
|
|
|
Powered by
FUDForum. Page generated in 0.05063 seconds