クラスの使用
org.springframework.test.context.web.WebMergedContextConfiguration
org.springframework.test.context.web 内の WebMergedContextConfiguration 使用
修飾子と型メソッド説明protected void
AbstractGenericWebContextLoader.configureWebResources
(GenericWebApplicationContext context, WebMergedContextConfiguration webMergedConfig) 提供された Web アプリケーションコンテキスト(WAC)の Web リソースを構成します。protected void
AbstractGenericWebContextLoader.customizeBeanFactory
(DefaultListableBeanFactory beanFactory, WebMergedContextConfiguration webMergedConfig) このコンテキストローダーによって作成されたWebApplicationContext
の内部 Bean ファクトリをカスタマイズします。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 定義をロードします。protected void
AbstractGenericWebContextLoader.validateMergedContextConfiguration
(WebMergedContextConfiguration mergedConfig) このコンテキストローダーがサポートするものに関して、提供されたWebMergedContextConfiguration
を検証します。protected void
AnnotationConfigWebContextLoader.validateMergedContextConfiguration
(WebMergedContextConfiguration webMergedConfig) 提供されたWebMergedContextConfiguration
にlocations
が含まれていないことを確認してください。protected void
GenericXmlWebContextLoader.validateMergedContextConfiguration
(WebMergedContextConfiguration webMergedConfig) 提供されたWebMergedContextConfiguration
にclasses
が含まれていないことを確認してください。