Class ConfigInstantiator

java.lang.Object
io.quarkus.runtime.configuration.ConfigInstantiator

public class ConfigInstantiator extends Object
Utility class for manually instantiating a config object

This should only be used in specific circumstances, generally when normal start has failed and we are attempting to do some form of recovery via hot deployment

TODO: fully implement this as required, at the moment this is mostly to read the HTTP config when startup fails or for basic logging setup in non-Quarkus tests

  • Constructor Details

    • ConfigInstantiator

      public ConfigInstantiator()
  • Method Details

    • handleObject

      public static <T> T handleObject(Supplier<T> supplier)
    • handleObject

      public static void handleObject(Object o)
    • handleObject

      public static void handleObject(Object o, io.smallrye.config.SmallRyeConfig config)
    • typeOfParameter

      static Type typeOfParameter(Type type, int paramIdx)