Package org.springframework.boot
Class AotProcessor
java.lang.Object
org.springframework.boot.AotProcessor
Entry point for AOT processing of a
SpringApplication
.
For internal use only.
- Since:
- 3.0.0
- Author:
- Stephane Nicoll, Andy Wilkinson, Phillip Webb
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
AotProcessor
public AotProcessor(Class<?> application, String[] applicationArgs, Path sourceOutput, Path resourceOutput, Path classOutput, String groupId, String artifactId) Create a new processor for the specified application and settings.- Parameters:
application
- the application main classapplicationArgs
- the arguments to provide to the main methodsourceOutput
- the location of generated sourcesresourceOutput
- the location of generated resourcesclassOutput
- the location of generated classesgroupId
- the group ID of the application, used to locate native-image.propertiesartifactId
- the artifact ID of the application, used to locate native-image.properties
-
-
Method Details
-
process
public void process()Trigger the processing of the application managed by this instance. -
main
- Throws:
Exception
-