Class ExtensionLoader

java.lang.Object
io.quarkus.deployment.ExtensionLoader

public final class ExtensionLoader extends Object
Utility class to load build steps, runtime recorders, and configuration roots from a given extension class.
  • Method Details

    • loadStepsFrom

      public static Consumer<io.quarkus.builder.BuildChainBuilder> loadStepsFrom(ClassLoader classLoader, Properties buildSystemProps, Properties runtimeProperties, io.quarkus.bootstrap.model.ApplicationModel appModel, io.quarkus.runtime.LaunchMode launchMode, io.quarkus.dev.spi.DevModeType devModeType) throws IOException, ClassNotFoundException
      Load all the build steps from the given class loader.
      Parameters:
      classLoader - the class loader
      buildSystemProps - the build system properties to use
      launchMode - launch mode
      Returns:
      a consumer which adds the steps to the given chain builder
      Throws:
      IOException - if the class loader could not load a resource
      ClassNotFoundException - if a build step class is not found
    • getMethods

      protected static List<Method> getMethods(Class<?> clazz)
    • reportError

      static IllegalArgumentException reportError(AnnotatedElement e, String msg)