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 Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classCommon settings for AOT processors. - 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe name of a system property that is made available when the processor runs. - 
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreate a new processor instance with the supplied settings. - 
Method Summary
Modifier 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)  
- 
Field Details
- 
AOT_PROCESSING
The name of a system property that is made available when the processor runs.- Since:
 - 6.2
 - See Also:
 
 
 - 
 - 
Constructor Details
- 
AbstractAotProcessor
Create a new processor instance with the supplied settings.- See Also:
 
 
 - 
 - 
Method Details
- 
getSettings
Get the settings for this AOT processor. - 
process
 - 
doProcess
 - 
deleteExistingOutput
protected void deleteExistingOutput()Delete the source, resource, and class output directories. - 
createFileSystemGeneratedFiles
 - 
writeHints
 
 -