Class SpringApplicationAotProcessor

java.lang.Object
org.springframework.context.aot.AbstractAotProcessor<org.springframework.javapoet.ClassName>
org.springframework.context.aot.ContextAotProcessor
org.springframework.boot.SpringApplicationAotProcessor

public class SpringApplicationAotProcessor extends org.springframework.context.aot.ContextAotProcessor
Entry point for AOT processing of a SpringApplication.

For internal use only.

Since:
3.0.0
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.springframework.context.aot.AbstractAotProcessor

    org.springframework.context.aot.AbstractAotProcessor.Settings
  • Constructor Summary

    Constructors
    Constructor
    Description
    SpringApplicationAotProcessor(Class<?> application, org.springframework.context.aot.AbstractAotProcessor.Settings settings, String[] applicationArgs)
    Create a new processor for the specified application and settings.
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    main(String[] args)
     
    protected org.springframework.context.support.GenericApplicationContext
     

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SpringApplicationAotProcessor

      public SpringApplicationAotProcessor(Class<?> application, org.springframework.context.aot.AbstractAotProcessor.Settings settings, String[] applicationArgs)
      Create a new processor for the specified application and settings.
      Parameters:
      application - the application main class
      settings - the general AOT processor settings
      applicationArgs - the arguments to provide to the main method
  • Method Details

    • prepareApplicationContext

      protected org.springframework.context.support.GenericApplicationContext prepareApplicationContext(Class<?> application)
      Specified by:
      prepareApplicationContext in class org.springframework.context.aot.ContextAotProcessor
    • main

      public static void main(String[] args) throws Exception
      Throws:
      Exception