Class ClassLoadingConfig


  • @ConfigRoot(phase=BUILD_TIME)
    public class ClassLoadingConfig
    extends Object
    WARNING: This is not normal quarkus config, this is only read from application.properties.

    This is because it is needed before any of the config infrastructure is setup.

    • Field Detail

      • parentFirstArtifacts

        @ConfigItem(defaultValue="")
        public Optional<String> parentFirstArtifacts
        Artifacts that are loaded in a parent first manner. This can be used to work around issues where a given class needs to be loaded by the system ClassLoader. Note that if you make a library parent first all its dependencies should generally also be parent first.

        Artifacts should be configured as a comma separated list of artifact ids, with the group, artifact-id and optional classifier separated by a colon.

        WARNING: This config property can only be set in application.properties

      • reloadableArtifacts

        @ConfigItem(defaultValue="")
        public Optional<String> reloadableArtifacts
        Artifacts that are loaded in the runtime ClassLoader in dev mode, so they will be dropped and recreated on change.

        This is an advanced option, it should only be used if you have a problem with libraries holding stale state between reloads. Note that if you use this any library that depends on the listed libraries will also need to be reloadable.

        This setting has no impact on production builds.

        Artifacts should be configured as a comma separated list of artifact ids, with the group, artifact-id and optional classifier separated by a colon.

        WARNING: This config property can only be set in application.properties

    • Constructor Detail

      • ClassLoadingConfig

        public ClassLoadingConfig()