Package org.springframework.context.aot
Class AbstractAotProcessor<T>
java.lang.Object
org.springframework.context.aot.AbstractAotProcessor<T>
- Type Parameters:
- T- the type of the processing result
- Direct Known Subclasses:
- ContextAotProcessor,- TestAotProcessor
Abstract base class for filesystem-based ahead-of-time (AOT) processing.
 
Concrete implementations should override doProcess() that kicks
 off the optimization of the target, usually an application.
- Since:
- 6.0
- Author:
- Stephane Nicoll, Andy Wilkinson, Phillip Webb, Sam Brannen
- See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic final classCommon settings for AOT processors.
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedCreate a new processor instance with the supplied settings.
- 
Method SummaryModifier and TypeMethodDescriptionprotected FileSystemGeneratedFilesprotected voidDelete the source, resource, and class output directories.protected abstract Tprotected AbstractAotProcessor.SettingsGet the settings for this AOT processor.final Tprocess()Run AOT processing.protected voidwriteHints(RuntimeHints hints) 
- 
Constructor Details- 
AbstractAotProcessorCreate a new processor instance with the supplied settings.- See Also:
 
 
- 
- 
Method Details- 
getSettingsGet the settings for this AOT processor.
- 
processRun AOT processing.- Returns:
- the result of the processing.
 
- 
doProcess
- 
deleteExistingOutputprotected void deleteExistingOutput()Delete the source, resource, and class output directories.
- 
createFileSystemGeneratedFiles
- 
writeHints
 
-