クラスの使用
org.springframework.web.context.support.GenericWebApplicationContext
org.springframework.test.context.web 内の GenericWebApplicationContext 使用
修飾子と型メソッド説明protected GenericWebApplicationContext
AbstractGenericWebContextLoader.createContext()
このContextLoader
で使用されるGenericWebApplicationContext
を作成するためのファクトリメソッド。AbstractGenericWebContextLoader.loadContextForAotProcessing
(MergedContextConfiguration mergedConfig) 提供されたMergedContextConfiguration
に基づいて、AOT ビルド時の処理のためにGenericWebApplicationContext
をロードします。AbstractGenericWebContextLoader.loadContextForAotRuntime
(MergedContextConfiguration mergedConfig, ApplicationContextInitializer<ConfigurableApplicationContext> initializer) 提供されたMergedContextConfiguration
およびApplicationContextInitializer
に基づいて、AOT ランタイム実行用にGenericWebApplicationContext
をロードします。修飾子と型メソッド説明protected void
AbstractGenericWebContextLoader.configureWebResources
(GenericWebApplicationContext context, WebMergedContextConfiguration webMergedConfig) 提供された Web アプリケーションコンテキスト(WAC)の Web リソースを構成します。protected void
AbstractGenericWebContextLoader.customizeContext
(GenericWebApplicationContext context, WebMergedContextConfiguration webMergedConfig) Bean 定義がコンテキストにロードされた後でコンテキストがリフレッシュされる前に、この文脈ローダーによって作成されたGenericWebApplicationContext
をカスタマイズします。protected abstract void
AbstractGenericWebContextLoader.loadBeanDefinitions
(GenericWebApplicationContext context, WebMergedContextConfiguration webMergedConfig) 提供されたWebMergedContextConfiguration
の場所またはクラスから、提供されたcontext
に Bean 定義をロードします。protected void
AnnotationConfigWebContextLoader.loadBeanDefinitions
(GenericWebApplicationContext context, WebMergedContextConfiguration webMergedConfig) 提供されたWebMergedContextConfiguration
内のクラスから、提供されたコンテキストにクラスを登録します。protected void
GenericGroovyXmlWebContextLoader.loadBeanDefinitions
(GenericWebApplicationContext context, WebMergedContextConfiguration webMergedConfig) GroovyBeanDefinitionReader
を使用して、提供されたWebMergedContextConfiguration
の場所から提供されたcontext
に Bean 定義をロードします。protected void
GenericXmlWebContextLoader.loadBeanDefinitions
(GenericWebApplicationContext context, WebMergedContextConfiguration webMergedConfig) XmlBeanDefinitionReader
を使用して、提供されたWebMergedContextConfiguration
の場所から提供されたcontext
に Bean 定義をロードします。