Class SystemServiceLoaderInitializer


  • public class SystemServiceLoaderInitializer
    extends Object
    Walks through known ServiceLoader interfaces, and ensures that the implementations available from the system bundle are loaded before any other OSGi bundles might load.

    This should prevent a whole kind of failure where plugins attempt to load classes outside of their classpath, or where they might initialize some loader (and fail!) before core attempts to.

    Since:
    7.0.1
    • Constructor Detail

      • SystemServiceLoaderInitializer

        public SystemServiceLoaderInitializer()
    • Method Detail

      • loadKnownServiceLoaders

        @PostConstruct
        public void loadKnownServiceLoaders()