[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[equinox-dev] using parentClassloader=app
- From: "Tom Huybrechts" <tom.huybrechts@xxxxxxxxx>
- Date: Thu, 22 Jun 2006 20:16:28 +0200
- Delivered-to: email@example.com
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Ar5ucTPOBc1j8klw99r7lI30YizHH3yuMCtJU5kAeRDH19uPGtyJef+EcPnV5HLDjloexsmDRpkESaH7+lSB3W0Y6YVKNnh9d+0sx7WBKCiCyszG4Yu8mAAe/VEnb7qgRC5kEdMQnfPYgyr/j+5Ecnn87fHz4d5J3Moco6JYeZ4=
Don't know if this is the right group for my question - please point
me elsewhere if it isnt.
I'm porting a legacy Java framework to an OSGI-based framework. My new
application consists of a number of plugins:
- the eclipse and osgi core plugins
- a plugin that contains the old framework
- new application plugins
This new framework is booted the Eclipse way using an IPlatformRunnable.
Now I want to use some of the new application plugins inside the old
framework. This is still started as an ordinary Java application.
Insided this application I boot osgi, and by setting
parentClassloader=app I can use the old framework
Off course, in this case the old framework is not available as a
plugin. So my question is: how do I configure my application plugins
so that their dependencies are correctly resolved in both settings. If
I do an import-package where this package is provided by the app
classloader, will this be correctly wired ? Would it be possible to
create a dummy plugin whose classes are loaded from the app