OpenJFX 11 in OSGi
Tom Schindl
tom.schindl at bestsolution.at
Tue Aug 7 13:27:33 UTC 2018
Hi,
No this is an Equinox only solution!
I'm not sure Felix does provide a way to hook into the classloading
system and catch problems. The approach of dynamically spinning up a
layer although should work in general.
I'm not sure about the Classloader-Delegation in Felix but if you write
a custom Felix-Application launcher you and make Felix use the correct
Layer-Classloader you are good to go ;-)
IIRC the OSGi-People are working on a general solution to run
Java-Modules inside OSGi but I haven't digged up the current state.
Tom
On 07.08.18 15:02, Mark Raynsford wrote:
> On 2018-08-07T14:22:10 +0200
> Tom Schindl <tom.schindl at bestsolution.at> wrote:
>
>> Hi,
>>
>> For those not following my blog [1]. We've managed to successfully run
>> OpenJFX-11 modules inside Equinox using the same approach we've already
>> supplied for FXCanvas. We "simply" spin up a new Module-Layer containing
>> the JavaFX-bits.
>>
>
> Nice work. I kept an eye on the GitHub ticket you (I think it was you,
> apologies if it wasn't!) filed a while back to track this. I never did
> find a decent solution, so I'm glad you came up with something.
>
> Is this applicable to Felix? It seems like it might use
> Equinox-specific facilities.
>
--
Tom Schindl, CTO
BestSolution.at EDV Systemhaus GmbH
Eduard-Bodem-Gasse 5-7. A-6020 Innsbruck
Reg. Nr. FN 222302s am Firmenbuchgericht Innsbruck
More information about the openjfx-dev
mailing list