クラス ApplicationContextAotGenerator
java.lang.ObjectSE
org.springframework.context.aot.ApplicationContextAotGenerator
ApplicationContext
とその BeanFactory
を処理して、Bean ファクトリの状態を表すコードと、制約のある環境で実行時に使用できる必要なヒントを生成します。- 導入:
- 6.0
- 作成者:
- Stephane Nicoll, Phillip Webb
コンストラクターの概要
コンストラクターメソッドのサマリー
修飾子と型メソッド説明org.springframework.javapoet.ClassName
processAheadOfTime
(GenericApplicationContext applicationContext, GenerationContext generationContext) 指定されたGenerationContext
を使用して、指定されたGenericApplicationContext
を事前に処理します。
コンストラクターの詳細
ApplicationContextAotGenerator
public ApplicationContextAotGenerator()
メソッドの詳細
processAheadOfTime
public org.springframework.javapoet.ClassName processAheadOfTime(GenericApplicationContext applicationContext, GenerationContext generationContext) 指定されたGenerationContext
を使用して、指定されたGenericApplicationContext
を事前に処理します。アプリケーションコンテキストの最適化された状態を復元するために使用する
ApplicationContextInitializer
のClassName
を返します。- パラメーター:
applicationContext
- 処理するリフレッシュされていないアプリケーションコンテキストgenerationContext
- 使用する生成コンテキスト- 戻り値:
ApplicationContextInitializer
エントリポイントのClassName