Interface AotTestExecutionListener

All Superinterfaces:
TestExecutionListener
All Known Implementing Classes:
SqlScriptsTestExecutionListener

public interface AotTestExecutionListener extends TestExecutionListener
AotTestExecutionListener is an extension of the TestExecutionListener SPI that allows a listener to optionally provide ahead-of-time (AOT) support.
Since:
6.0
Author:
Sam Brannen
  • Method Details

    • processAheadOfTime

      void processAheadOfTime(RuntimeHints runtimeHints, Class<?> testClass, ClassLoader classLoader)
      Process the supplied test class ahead-of-time using the given RuntimeHints instance.

      If possible, implementations should use the specified ClassLoader to determine if hints have to be contributed.

      Parameters:
      runtimeHints - the RuntimeHints to use
      testClass - the test class to process
      classLoader - the classloader to use