Closed dseurotech closed 2 months ago
Attention: Patch coverage is 85.55556%
with 26 lines
in your changes missing coverage. Please review.
Project coverage is 16.78%. Comparing base (
20a640d
) to head (9da5667
). Report is 11 commits behind head on develop.
Enable autoscan for classes to be fed to the JaxbContext within the application namespaces
Related Issue This PR fixes/closes 1770 and fixes/closes 3426
Description of the solution adopted This PR actually introduces a basic jaxb provider (JAXBContextProviderImpl) which collects (via constructor injection and the use of Guice's Multibindings) classes coming from any number of _JaxbClassProvider_s. Two instances of such Class Providers are supplied:
Any side note on the changes made Side changes are the promotion of LocatorConfig to api level as a data-container class, while its creation (specifically, xml parsing) has been singled out and moved in a more appropriate class. While refactoring this, any residue of the incomplete and unused feature of locator providers has been eliminated. Notice that autoscan is supplied as an alternative mechanism to providing Jaxb configuration the old way, so this pr should not be breaking. In all project leaf modules the original JaxbProviders has been kept, even if in a deprecated state, in order to provide easier debugging in case of emerging issues.