Package org.springframework.context.aot
Class ApplicationContextAotInitializer
java.lang.Object
org.springframework.context.aot.ApplicationContextAotInitializer
Initializes a
ConfigurableApplicationContext
using AOT optimizations.- Since:
- 6.0
- Author:
- Stephane Nicoll
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
initialize
(ConfigurableApplicationContext context, String... initializerClassNames) Initialize the specified application context using the specifiedApplicationContextInitializer
class names.
-
Constructor Details
-
ApplicationContextAotInitializer
public ApplicationContextAotInitializer()
-
-
Method Details
-
initialize
Initialize the specified application context using the specifiedApplicationContextInitializer
class names. Each class name is expected to have a default constructor.- Parameters:
context
- the context to initializeinitializerClassNames
- the application context initializer class names
-