Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » How to embedded the OSGi framework into the standalone application?
How to embedded the OSGi framework into the standalone application? [message #62647] Mon, 27 February 2006 09:48
wei yan is currently offline wei yanFriend
Messages: 4
Registered: July 2009
Junior Member
hi,
we are prepare to use the OSGi framwork as the extension framework in
our appliction. The architecture of the application looks like:

Plugins implement the extenion point
OSGi framwork (used to load the extensions)
Main application (load the OSGi framework, get the extensions from the
framework)


The problem is how should we get the plugins loaded by the OSGi framwork.
It seems that the BundleContext can only be accessed in the bundle itself.
The outside codes like our Main Application can't get the loaded
extensions.

In a more common case, The main application can define a service
interface, the interface is implemented by the plugins in the OSGi
framework. The main application can't get the service registed by the
plugin from ourside the framework.

In Eclipse 3.2 M2, we can use the private field "context" defined in the
EclipseStarter to install/access/uninstall the bundle. Is there a public
API to support this feaure or do we have a plan to support such a feature?

Thanks
Previous Topic:JSP compiler / Jasper bundle
Next Topic:How do I determine the contributing bundle for a given extension
Goto Forum:
  


Current Time: Thu Apr 25 01:02:40 GMT 2024

Powered by FUDForum. Page generated in 0.03267 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top