Interface StartupAction


public interface StartupAction
  • Method Details

    • overrideConfig

      void overrideConfig(Map<String,String> config)
      Overrides runtime config.
    • run

      Throws:
      Exception
    • getClassLoader

      QuarkusClassLoader getClassLoader()
    • getOrInitialiseDevServicesProperties

      Map<String,String> getOrInitialiseDevServicesProperties()
      This will start any dev services that were not started in the augmentation phase.
    • getOrInitialiseDevServicesNetworkId

      String getOrInitialiseDevServicesNetworkId()
      This will start any dev services that were not started in the augmentation phase.
    • runMainClass

      RunningQuarkusApplication runMainClass(String... args) throws Exception
      Runs the application by running the main method of the main class. As this is a blocking method a new thread is created to run this task.

      Before this method is called an appropriate exit handler will likely need to be set in

      invalid reference
      io.quarkus.runtime.ApplicationLifecycleManager#setDefaultExitCodeHandler(Consumer)
      of the JVM will exit when the app stops.
      Throws:
      Exception
    • runMainClassBlocking

      int runMainClassBlocking(String... args) throws Exception
      Runs the application by running the main method of the main class, and runs it to completion
      Throws:
      Exception
    • addRuntimeCloseTask

      void addRuntimeCloseTask(Closeable closeTask)