On 29 January 2018 at 10:05, Gary Gregory <garydgreg...@gmail.com> wrote:

> How does this relate our use of OSGi "Fragment-Host" in jar files?
>

I'm not so sure. My OSGi experience in the past revolved around proper
bundles mostly which didn't require these weird hacks. Ideally, log4j-core
should just use the ServiceLocator or similar (from a BundleActivator) to
load up plugin classes from other bundles. With that in mind, the non-core
modules will need to Export-Package the same package(s) that it does for
JPMS so that log4j-core can access said plugin classes.

IOW, and for example, do I still to need to declare "Fragment-Host" in
> log4j-cassandra like we do now:
>

That looks like it should work in theory.

-- 
Matt Sicker <boa...@gmail.com>

Reply via email to