Hey all!
For those interested in running Forge in a flat classloader, using CDI in
its full potential (including Interceptors and Decorators), I created a
project that may help you[1].
It is basically an implementation of the Furnace API that exposes the
services provided by addons that use the simple-container using a CDI
extension. Addons that depend on the CDI container are already
CDI-friendly, so expect no changes in this project when loading those
addons.
It may save you some memory by not starting several Weld instances and it's
really fast. Give it a try if you like!
[1]
https://github.com/gastaldi/furnace-embedded
Best Regards,
George Gastaldi
Principal Software Engineer
Red Hat <
https://www.redhat.com>
Remote
Joinville - Santa Catarina
ggastald(a)redhat.com M: +55-47-99711-1000
<
https://red.ht/sig>
TRIED. TESTED. TRUSTED. <
https://redhat.com/trusted>
@redhatnews <
https://twitter.com/redhatnews> Red Hat
<
https://www.linkedin.com/company/red-hat> Red Hat
<
https://www.facebook.com/RedHatInc>