Interface AotTestExecutionListener
- All Superinterfaces:
TestExecutionListener
- All Known Implementing Classes:
SqlScriptsTestExecutionListener
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 Summary
Modifier and TypeMethodDescriptionvoid
processAheadOfTime
(RuntimeHints runtimeHints, Class<?> testClass, ClassLoader classLoader) Process the supplied test class ahead-of-time using the givenRuntimeHints
instance.Methods inherited from interface org.springframework.test.context.TestExecutionListener
afterTestClass, afterTestExecution, afterTestMethod, beforeTestClass, beforeTestExecution, beforeTestMethod, prepareTestInstance
-
Method Details
-
processAheadOfTime
Process the supplied test class ahead-of-time using the givenRuntimeHints
instance.If possible, implementations should use the specified
ClassLoader
to determine if hints have to be contributed.- Parameters:
runtimeHints
- theRuntimeHints
to usetestClass
- the test class to processclassLoader
- the classloader to use
-