Package org.springframework.boot
Class SpringApplicationAotProcessor
java.lang.Object
org.springframework.context.aot.AbstractAotProcessor<org.springframework.javapoet.ClassName>
org.springframework.context.aot.ContextAotProcessor
org.springframework.boot.SpringApplicationAotProcessor
Entry point for AOT processing of a
SpringApplication
.
For internal use only.
- Since:
- 3.0.0
- Author:
- Stephane Nicoll, Andy Wilkinson, Phillip Webb
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.context.aot.AbstractAotProcessor
AbstractAotProcessor.Settings
-
Constructor Summary
ConstructorDescriptionSpringApplicationAotProcessor
(Class<?> application, AbstractAotProcessor.Settings settings, String[] applicationArgs) Create a new processor for the specified application and settings. -
Method Summary
Modifier and TypeMethodDescriptionstatic void
protected GenericApplicationContext
prepareApplicationContext
(Class<?> application) Methods inherited from class org.springframework.context.aot.ContextAotProcessor
createClassNameGenerator, doProcess, getApplicationClass, getDefaultNativeImageArguments, performAotProcessing
Methods inherited from class org.springframework.context.aot.AbstractAotProcessor
createFileSystemGeneratedFiles, deleteExistingOutput, getSettings, process, writeHints
-
Constructor Details
-
SpringApplicationAotProcessor
public SpringApplicationAotProcessor(Class<?> application, AbstractAotProcessor.Settings settings, String[] applicationArgs) Create a new processor for the specified application and settings.- Parameters:
application
- the application main classsettings
- the general AOT processor settingsapplicationArgs
- the arguments to provide to the main method
-
-
Method Details
-
prepareApplicationContext
- Specified by:
prepareApplicationContext
in classContextAotProcessor
-
main
- Throws:
Exception
-