インターフェース AotContextLoader

すべてのスーパーインターフェース:
ContextLoaderSmartContextLoader
すべての既知の実装クラス:
AbstractDelegatingSmartContextLoaderAbstractGenericContextLoaderAbstractGenericWebContextLoaderAnnotationConfigContextLoaderAnnotationConfigWebContextLoaderDelegatingSmartContextLoaderGenericGroovyXmlContextLoaderGenericGroovyXmlWebContextLoaderGenericXmlContextLoaderGenericXmlWebContextLoaderWebDelegatingSmartContextLoader

public interface AotContextLoader extends SmartContextLoader
ビルド時の AOT 処理用の ApplicationContext と、Spring TestContext フレームワーク によって管理される統合テスト用の実行時の AOT 実行をロードするための戦略インターフェース。

AotContextLoader は SmartContextLoader SPI の拡張であり、コンテキストローダーがオプションで事前 (AOT) サポートを提供できるようにします。

Spring Framework 6.0 の時点で、AOT インフラストラクチャでは、AotContextLoader がビルド時の処理と実行時の実行の両方のために GenericApplicationContext を作成する必要があります。

導入:
6.0
作成者:
Sam Brannen