Class AbstractConfig<Config_ extends AbstractConfig<Config_>>

    • Constructor Detail

      • AbstractConfig

        public AbstractConfig()
    • Method Detail

      • inherit

        public abstract Config_ inherit​(Config_ inheritedConfig)
        Inherits each property of the inheritedConfig unless that property (or a semantic alternative) is defined by this instance (which overwrites the inherited behaviour).

        After the inheritance, if a property on this AbstractConfig composition is replaced, it should not affect the inherited composition instance.

        inheritedConfig - never null
      • copyConfig

        public abstract Config_ copyConfig()
        Typically implemented by constructing a new instance and calling inherit(AbstractConfig) on it
        new instance
      • visitReferencedClasses

        public abstract void visitReferencedClasses​(Consumer<Class<?>> classVisitor)
        Call the class visitor on each (possibly null) Class instance provided to this config by the user (including those provided in child configs). Required to create the bean factory in Quarkus.
        classVisitor - The visitor of classes, never null. Can accept null instances of Class