public interface AssertableWebApplicationContext extends ApplicationContextAssertProvider<org.springframework.web.context.ConfigurableWebApplicationContext>, org.springframework.web.context.ConfigurableWebApplicationContext
WebApplicationContext。既存のサーブレット Web アプリケーションコンテキストまたは起動に失敗したアプリケーションコンテキストを装飾するために使用できます。 詳細については、ApplicationContextAssertProvider を参照してください。
WebApplicationContextRunner, WebApplicationContextAPPLICATION_CONTEXT_ID_PREFIX, SERVLET_CONFIG_BEAN_NAMECONTEXT_ATTRIBUTES_BEAN_NAME, CONTEXT_PARAMETERS_BEAN_NAME, ROOT_WEB_APPLICATION_CONTEXT_ATTRIBUTE, SCOPE_APPLICATION, SCOPE_REQUEST, SCOPE_SESSION, SERVLET_CONTEXT_BEAN_NAMECONFIG_LOCATION_DELIMITERS, CONVERSION_SERVICE_BEAN_NAME, ENVIRONMENT_BEAN_NAME, LOAD_TIME_WEAVER_BEAN_NAME, SYSTEM_ENVIRONMENT_BEAN_NAME, SYSTEM_PROPERTIES_BEAN_NAME| 修飾子と型 | メソッドと説明 |
|---|---|
static AssertableWebApplicationContext | get(SupplierSE<? extends org.springframework.web.context.ConfigurableWebApplicationContext> contextSupplier) 新しい AssertableWebApplicationContext インスタンスを作成するファクトリメソッド。 |
assertThat, close, get, getSourceApplicationContext, getSourceApplicationContext, getStartupFailuregetConfigLocations, getNamespace, getServletConfig, setConfigLocation, setConfigLocations, setNamespace, setServletConfig, setServletContextaddApplicationListener, addBeanFactoryPostProcessor, addProtocolResolver, getBeanFactory, getEnvironment, isActive, refresh, registerShutdownHook, setEnvironment, setId, setParentgetApplicationName, getAutowireCapableBeanFactory, getDisplayName, getId, getParent, getStartupDatecontainsBeanDefinition, findAnnotationOnBean, getBeanDefinitionCount, getBeanDefinitionNames, getBeanNamesForAnnotation, getBeanNamesForType, getBeanNamesForType, getBeanNamesForType, getBeansOfType, getBeansOfType, getBeansWithAnnotationcontainsLocalBean, getParentBeanFactorycontainsBean, getAliases, getBean, getBean, getBean, getBean, getBean, getBeanProvider, getBeanProvider, getType, isPrototype, isSingleton, isTypeMatch, isTypeMatchstatic AssertableWebApplicationContext get(SupplierSE<? extends org.springframework.web.context.ConfigurableWebApplicationContext> contextSupplier)
AssertableWebApplicationContext インスタンスを作成するファクトリメソッド。contextSupplier - 完全に構成された ConfigurableWebApplicationContext を返すか、コンテキストの開始に失敗した場合に例外をスローするサプライヤー。AssertableWebApplicationContext インスタンス Copyright © 2019 Pivotal Software, Inc.. All rights reserved.