executeAot() — spring-boot Function Reference
Architecture documentation for the executeAot() function in ProcessAotMojo.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD b25ee668_c960_77b1_b219_b3f517741741["executeAot()"] 8aac93a3_8722_e9f2_3ebe_be791ce09b52["getClassPath()"] b25ee668_c960_77b1_b219_b3f517741741 -->|calls| 8aac93a3_8722_e9f2_3ebe_be791ce09b52 7f8ace36_8028_24c0_3a36_b65cb8bf9b0b["getAotArguments()"] b25ee668_c960_77b1_b219_b3f517741741 -->|calls| 7f8ace36_8028_24c0_3a36_b65cb8bf9b0b style b25ee668_c960_77b1_b219_b3f517741741 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
build-plugin/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/ProcessAotMojo.java lines 104–117
@Override
protected void executeAot() throws Exception {
if (this.project.getPackaging().equals("pom")) {
getLog().debug("process-aot goal could not be applied to pom project.");
return;
}
String applicationClass = (this.mainClass != null) ? this.mainClass
: SpringBootApplicationClassFinder.findSingleClass(this.classesDirectory);
URL[] classPath = getClassPath();
generateAotAssets(classPath, AOT_PROCESSOR_CLASS_NAME, getAotArguments(applicationClass));
compileSourceFiles(classPath, this.generatedSources, this.generatedClasses);
copyAll(this.generatedResources.toPath(), this.classesDirectory.toPath());
copyAll(this.generatedClasses.toPath(), this.classesDirectory.toPath());
}
Domain
Subdomains
Calls
- getAotArguments()
- getClassPath()
Source
Frequently Asked Questions
What does executeAot() do?
executeAot() is a function in the spring-boot codebase.
What does executeAot() call?
executeAot() calls 2 function(s): getAotArguments, getClassPath.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free