Package org.springframework.context.aot
Class ApplicationContextAotGenerator
java.lang.Object
org.springframework.context.aot.ApplicationContextAotGenerator
Process an 
ApplicationContext and its BeanFactory to generate
 code that represents the state of the bean factory, as well as the necessary
 hints that can be used at runtime in a constrained environment.- Since:
- 6.0
- Author:
- Stephane Nicoll, Phillip Webb
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionorg.springframework.javapoet.ClassNameprocessAheadOfTime(GenericApplicationContext applicationContext, GenerationContext generationContext) Process the specifiedGenericApplicationContextahead-of-time using the specifiedGenerationContext.
- 
Constructor Details- 
ApplicationContextAotGeneratorpublic ApplicationContextAotGenerator()
 
- 
- 
Method Details- 
processAheadOfTimepublic org.springframework.javapoet.ClassName processAheadOfTime(GenericApplicationContext applicationContext, GenerationContext generationContext) Process the specifiedGenericApplicationContextahead-of-time using the specifiedGenerationContext.Return the ClassNameof theApplicationContextInitializerto use to restore an optimized state of the application context.- Parameters:
- applicationContext- the non-refreshed application context to process
- generationContext- the generation context to use
- Returns:
- the ClassNameof theApplicationContextInitializerentry point
 
 
-