パッケージ | 説明 |
---|---|
org.springframework.test.context | このパッケージには Spring TestContext フレームワークが含まれており、使用中の実際のテストフレームワークにとらわれないアノテーション駆動型ユニットおよび統合テストのサポートを提供します。 |
org.springframework.test.context.web | Web は、Spring TestContext フレームワークのクラスをサポートします。 |
org.springframework.web.context | Web アプリケーションのアプリケーションコンテキストインターフェースのバリアントと、ルート Web アプリケーションコンテキストをブートストラップする ContextLoaderListener が含まれています。 |
org.springframework.web.servlet | アプリケーションコンテキストインフラストラクチャと統合するサーブレット、および Spring Web MVC フレームワークのコアインターフェースとクラスを提供します。 |
org.springframework.web.servlet.support | Spring の Web MVC フレームワークのサポートクラス。 |
修飾子と型 | メソッドと説明 |
---|---|
SetSE<ClassSE<? extends ApplicationContextInitializer<?>>> | MergedContextConfiguration.getContextInitializerClasses() テストクラスのマージされた ApplicationContextInitializer クラスを取得します。 |
コンストラクターと説明 |
---|
MergedContextConfiguration(ClassSE<?> testClass, StringSE[] locations, ClassSE<?>[] classes, SetSE<ClassSE<? extends ApplicationContextInitializer<?>>> contextInitializerClasses, StringSE[] activeProfiles, ContextLoader contextLoader) 指定されたパラメーターの新しい MergedContextConfiguration インスタンスを作成します。 |
MergedContextConfiguration(ClassSE<?> testClass, StringSE[] locations, ClassSE<?>[] classes, SetSE<ClassSE<? extends ApplicationContextInitializer<?>>> contextInitializerClasses, StringSE[] activeProfiles, ContextLoader contextLoader, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate, MergedContextConfiguration parent) 指定されたパラメーターの新しい MergedContextConfiguration インスタンスを作成します。 |
MergedContextConfiguration(ClassSE<?> testClass, StringSE[] locations, ClassSE<?>[] classes, SetSE<ClassSE<? extends ApplicationContextInitializer<?>>> contextInitializerClasses, StringSE[] activeProfiles, StringSE[] propertySourceLocations, StringSE[] propertySourceProperties, ContextLoader contextLoader, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate, MergedContextConfiguration parent) 指定されたパラメーターの新しい MergedContextConfiguration インスタンスを作成します。 |
MergedContextConfiguration(ClassSE<?> testClass, StringSE[] locations, ClassSE<?>[] classes, SetSE<ClassSE<? extends ApplicationContextInitializer<?>>> contextInitializerClasses, StringSE[] activeProfiles, StringSE[] propertySourceLocations, StringSE[] propertySourceProperties, SetSE<ContextCustomizer> contextCustomizers, ContextLoader contextLoader, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate, MergedContextConfiguration parent) 指定されたパラメーターの新しい MergedContextConfiguration インスタンスを作成します。 |
コンストラクターと説明 |
---|
WebMergedContextConfiguration(ClassSE<?> testClass, StringSE[] locations, ClassSE<?>[] classes, SetSE<ClassSE<? extends ApplicationContextInitializer<?>>> contextInitializerClasses, StringSE[] activeProfiles, StringSE[] propertySourceLocations, StringSE[] propertySourceProperties, SetSE<ContextCustomizer> contextCustomizers, StringSE resourceBasePath, ContextLoader contextLoader, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate, MergedContextConfiguration parent) 指定されたパラメーターの新しい WebMergedContextConfiguration インスタンスを作成します。 |
WebMergedContextConfiguration(ClassSE<?> testClass, StringSE[] locations, ClassSE<?>[] classes, SetSE<ClassSE<? extends ApplicationContextInitializer<?>>> contextInitializerClasses, StringSE[] activeProfiles, StringSE[] propertySourceLocations, StringSE[] propertySourceProperties, StringSE resourceBasePath, ContextLoader contextLoader, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate, MergedContextConfiguration parent) 指定されたパラメーターの新しい WebMergedContextConfiguration インスタンスを作成します。 |
修飾子と型 | メソッドと説明 |
---|---|
protected ApplicationContextInitializer<?>[] | AbstractContextLoaderInitializer.getRootApplicationContextInitializers() ContextLoaderListener の作成に使用されているルートアプリケーションコンテキストに適用されるアプリケーションコンテキスト初期化子を指定します。 |
修飾子と型 | メソッドと説明 |
---|---|
protected ListSE<ClassSE<ApplicationContextInitializer<ConfigurableApplicationContext>>> | ContextLoader.determineContextInitializerClasses(ServletContextEE servletContext) ContextLoader.CONTEXT_INITIALIZER_CLASSES_PARAM で指定されている場合に使用する ApplicationContextInitializer 実装クラスを返します。 |
修飾子と型 | メソッドと説明 |
---|---|
void | ContextLoader.setContextInitializers(ApplicationContextInitializer<?>... initializers) この ContextLoader で使用されるアプリケーションコンテキストを初期化するために使用する ApplicationContextInitializer インスタンスを指定します。 |
修飾子と型 | メソッドと説明 |
---|---|
void | FrameworkServlet.setContextInitializers(ApplicationContextInitializer<?>... initializers) この FrameworkServlet で使用されるアプリケーションコンテキストを初期化するために使用する ApplicationContextInitializer インスタンスを指定します。 |
修飾子と型 | メソッドと説明 |
---|---|
protected ApplicationContextInitializer<?>[] | AbstractDispatcherServletInitializer.getServletApplicationContextInitializers() DispatcherServlet が作成されるサーブレット固有のアプリケーションコンテキストに適用されるアプリケーションコンテキスト初期化子を指定します。 |