类的使用
cn.taketoday.test.context.web.WebMergedContextConfiguration
程序包
说明
Classes and annotations related to configuring Infra
ApplicationContext for
tests.Web support classes for the TestContext Framework.
-
cn.taketoday.framework.test.context中WebMergedContextConfiguration的使用
修饰符和类型方法说明private voidInfraApplicationContextLoader.WebConfigurer.addMockServletContext(List<cn.taketoday.context.ApplicationContextInitializer> initializers, WebMergedContextConfiguration webConfiguration) -
cn.taketoday.test.context.web中WebMergedContextConfiguration的使用
修饰符和类型方法说明protected voidAbstractGenericWebContextLoader.configureWebResources(cn.taketoday.web.servlet.support.GenericWebApplicationContext context, WebMergedContextConfiguration webMergedConfig) Configures web resources for the supplied web application context (WAC).protected voidAbstractGenericWebContextLoader.customizeBeanFactory(cn.taketoday.beans.factory.support.StandardBeanFactory beanFactory, WebMergedContextConfiguration webMergedConfig) Customize the internal bean factory of theWebApplicationContextcreated by this context loader.protected voidAbstractGenericWebContextLoader.customizeContext(cn.taketoday.web.servlet.support.GenericWebApplicationContext context, WebMergedContextConfiguration webMergedConfig) Customize theGenericWebApplicationContextcreated by this context loader after bean definitions have been loaded into the context but before the context is refreshed.protected abstract voidAbstractGenericWebContextLoader.loadBeanDefinitions(cn.taketoday.web.servlet.support.GenericWebApplicationContext context, WebMergedContextConfiguration webMergedConfig) Load bean definitions into the suppliedcontextfrom the locations or classes in the suppliedWebMergedContextConfiguration.protected voidAnnotationConfigWebContextLoader.loadBeanDefinitions(cn.taketoday.web.servlet.support.GenericWebApplicationContext context, WebMergedContextConfiguration webMergedConfig) Register classes in the supplied context from the classes in the suppliedWebMergedContextConfiguration.protected voidGenericXmlWebContextLoader.loadBeanDefinitions(cn.taketoday.web.servlet.support.GenericWebApplicationContext context, WebMergedContextConfiguration webMergedConfig) Load bean definitions into the suppliedcontextfrom the locations in the suppliedWebMergedContextConfiguration, using anXmlBeanDefinitionReader.protected voidAbstractGenericWebContextLoader.validateMergedContextConfiguration(WebMergedContextConfiguration mergedConfig) Validate the suppliedWebMergedContextConfigurationwith respect to what this context loader supports.protected voidAnnotationConfigWebContextLoader.validateMergedContextConfiguration(WebMergedContextConfiguration webMergedConfig) Ensure that the suppliedWebMergedContextConfigurationdoes not containlocations.protected voidGenericXmlWebContextLoader.validateMergedContextConfiguration(WebMergedContextConfiguration webMergedConfig) Ensure that the suppliedWebMergedContextConfigurationdoes not containclasses.