konik-io / konik

A library to create, read and validate ZUGFeRD compliant invoices. Available for Java and .NET
https://konik.io
Other
48 stars 19 forks source link

Pass local classloaders to JAXB and ServiceLoader #94

Closed hannibal218bc closed 4 years ago

hannibal218bc commented 4 years ago

We'd like to use Konik in an OSGi environment (Eclipse), where each bundle has their own classloaders and package visibility is strictly enforced.

To allow for JAXB and ServiceLoader classes to live in seperate bundles that do not have a dependency on Konik, and therefore by default have no visibility of Konik's packages, Konik should pass its own classloader.