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 TypeMethodDescriptionvoidprocessAheadOfTime(RuntimeHints runtimeHints, Class<?> testClass, ClassLoader classLoader) Process the supplied test class ahead-of-time using the givenRuntimeHintsinstance.Methods inherited from interface testExecutionListener
aftertestClass, aftertestExecution, aftertestMethod, beforetestClass, beforetestExecution, beforetestMethod, preparetestInstance
-
Method Details
-
processAheadOfTime
Process the supplied test class ahead-of-time using the givenRuntimeHintsinstance.If possible, implementations should use the specified
ClassLoaderto determine if hints have to be contributed.- Parameters:
runtimeHints- theRuntimeHintsto usetestClass- the test class to processclassLoader- the classloader to use
-