インターフェースの使用 
org.springframework.test.context.aot.AotContextLoader
AotContextLoader を使用するパッケージ 
 パッケージ 
 説明 
Spring TestContext フレームワークのサポートクラス。
Web は、Spring TestContext フレームワークのクラスをサポートします。
- org.springframework.test.context.support 内の AotContextLoader 使用AotContextLoader を実装している org.springframework.test.context.support のクラス修飾子と型クラス説明- class- AbstractDelegatingSmartContextLoaderは、- SmartContextLoaderSPI の実装の抽象基本クラスとして機能し、一連の候補 SmartContextLoaders(つまり、XML 構成ファイルまたは Groovy スクリプトをサポートするものと、アノテーション付きクラスをサポートするもの)に委譲して、特定のコンテキストローダーが適切かどうかを判断します。テストクラスの構成。- class- GenericApplicationContextをロードする- AbstractContextLoaderの抽象、汎用拡張。- classコンポーネントクラスから Bean 定義をロードする- AbstractGenericContextLoaderの具象実装。- class- DelegatingSmartContextLoaderは、- GenericXmlContextLoader(または Groovy がクラスパスに存在する場合は- GenericGroovyXmlContextLoader)および- AnnotationConfigContextLoaderに委譲する- AbstractDelegatingSmartContextLoaderの具象実装です。- classGroovy スクリプトおよび XML 構成ファイルから Bean 定義を読み取る- AbstractGenericContextLoaderの具体的な実装。- classXML リソースから Bean 定義を読み取る- AbstractGenericContextLoaderの具体的な実装。
- org.springframework.test.context.web 内の AotContextLoader 使用AotContextLoader を実装している org.springframework.test.context.web のクラス修飾子と型クラス説明- class- GenericWebApplicationContextをロードする- AbstractContextLoaderの抽象、汎用拡張。- classアノテーション付きクラスから Bean 定義をロードする- AbstractGenericWebContextLoaderの具体的な実装。- classGroovy スクリプトおよび XML 構成ファイルから Bean 定義をロードする- AbstractGenericWebContextLoaderの具体的な実装。- classXML リソースから Bean 定義をロードする- AbstractGenericWebContextLoaderの具体的な実装。- class- WebDelegatingSmartContextLoaderは、- GenericXmlWebContextLoader(または Groovy がクラスパスに存在する場合は- GenericGroovyXmlWebContextLoader)および- AnnotationConfigWebContextLoaderに委譲する- AbstractDelegatingSmartContextLoaderの具象実装です。