Class ApplicationContextAotInitializer

java.lang.Object
org.springframework.context.aot.ApplicationContextAotInitializer

public class ApplicationContextAotInitializer extends Object
Initializes a ConfigurableApplicationContext using AOT optimizations.
Since:
6.0
Author:
Stephane Nicoll
  • Constructor Details

    • ApplicationContextAotInitializer

      public ApplicationContextAotInitializer()
  • Method Details

    • initialize

      public void initialize(ConfigurableApplicationContext context, String... initializerClassNames)
      Initialize the specified application context using the specified ApplicationContextInitializer class names. Each class is expected to have a default constructor.
      Parameters:
      context - the context to initialize
      initializerClassNames - the application context initializer class names