インターフェースの使用
org.springframework.test.context.SmartContextLoader
SmartContextLoader を使用するパッケージ
パッケージ
説明
Spring TestContext フレームワークの事前 (AOT) サポート。
Spring TestContext フレームワークのサポートクラス。
Web は、Spring TestContext フレームワークのクラスをサポートします。
org.springframework.test.context.aot 内の SmartContextLoader 使用
org.springframework.test.context.aot 内の SmartContextLoader サブインターフェース修飾子と型インターフェース説明interfaceビルド時の AOT 処理用のApplicationContextと、Spring TestContext フレームワークによって管理される統合テスト用の実行時の AOT 実行をロードするための戦略インターフェース。org.springframework.test.context.support 内の SmartContextLoader 使用
修飾子と型クラス説明classContextLoaderSPI のすべての具体的な実装の基礎を提供する抽象アプリケーションコンテキストローダー。classAbstractDelegatingSmartContextLoaderは、SmartContextLoaderSPI の実装の抽象基本クラスとして機能し、一連の候補 SmartContextLoaders(つまり、XML 構成ファイルまたは Groovy スクリプトをサポートするものと、アノテーション付きクラスをサポートするもの)に委譲して、特定のコンテキストローダーが適切かどうかを判断します。テストクラスの構成。classGenericApplicationContextをロードするAbstractContextLoaderの抽象、汎用拡張。classコンポーネントクラスから Bean 定義をロードするAbstractGenericContextLoaderの具象実装。classDelegatingSmartContextLoaderは、GenericXmlContextLoader(または Groovy がクラスパスに存在する場合はGenericGroovyXmlContextLoader)およびAnnotationConfigContextLoaderに委譲するAbstractDelegatingSmartContextLoaderの具象実装です。classGroovy スクリプトおよび XML 構成ファイルから Bean 定義を読み取るAbstractGenericContextLoaderの具体的な実装。classXML リソースから Bean 定義を読み取るAbstractGenericContextLoaderの具体的な実装。修飾子と型メソッド説明protected abstract SmartContextLoaderAbstractDelegatingSmartContextLoader.getAnnotationConfigLoader()アノテーション付きクラスをサポートするデリゲートSmartContextLoaderを取得します。protected SmartContextLoaderDelegatingSmartContextLoader.getAnnotationConfigLoader()protected abstract SmartContextLoaderAbstractDelegatingSmartContextLoader.getXmlLoader()XML 構成ファイルや Groovy スクリプトをサポートするデリゲートSmartContextLoaderを取得します。protected SmartContextLoaderDelegatingSmartContextLoader.getXmlLoader()org.springframework.test.context.web 内の SmartContextLoader 使用
SmartContextLoader を実装している org.springframework.test.context.web のクラス修飾子と型クラス説明classGenericWebApplicationContextをロードするAbstractContextLoaderの抽象、汎用拡張。classアノテーション付きクラスから Bean 定義をロードするAbstractGenericWebContextLoaderの具体的な実装。classGroovy スクリプトおよび XML 構成ファイルから Bean 定義をロードするAbstractGenericWebContextLoaderの具体的な実装。classXML リソースから Bean 定義をロードするAbstractGenericWebContextLoaderの具体的な実装。classWebDelegatingSmartContextLoaderは、GenericXmlWebContextLoader(または Groovy がクラスパスに存在する場合はGenericGroovyXmlWebContextLoader)およびAnnotationConfigWebContextLoaderに委譲するAbstractDelegatingSmartContextLoaderの具象実装です。修飾子と型メソッド説明protected SmartContextLoaderWebDelegatingSmartContextLoader.getAnnotationConfigLoader()protected SmartContextLoaderWebDelegatingSmartContextLoader.getXmlLoader()