public interface AssertableWebApplicationContext extends ApplicationContextAssertProvider<ConfigurableWebApplicationContext>, ConfigurableWebApplicationContext
WebApplicationContext
。既存のサーブレット Web アプリケーションコンテキストまたは起動に失敗したアプリケーションコンテキストを装飾するために使用できます。 詳細については、ApplicationContextAssertProvider
を参照してください。
WebApplicationContextRunner
, WebApplicationContext
APPLICATION_CONTEXT_ID_PREFIX, SERVLET_CONFIG_BEAN_NAME
CONTEXT_ATTRIBUTES_BEAN_NAME, CONTEXT_PARAMETERS_BEAN_NAME, ROOT_WEB_APPLICATION_CONTEXT_ATTRIBUTE, SCOPE_APPLICATION, SCOPE_REQUEST, SCOPE_SESSION, SERVLET_CONTEXT_BEAN_NAME
APPLICATION_STARTUP_BEAN_NAME, CONFIG_LOCATION_DELIMITERS, CONVERSION_SERVICE_BEAN_NAME, ENVIRONMENT_BEAN_NAME, LOAD_TIME_WEAVER_BEAN_NAME, SHUTDOWN_HOOK_THREAD_NAME, SYSTEM_ENVIRONMENT_BEAN_NAME, SYSTEM_PROPERTIES_BEAN_NAME
FACTORY_BEAN_PREFIX
CLASSPATH_ALL_URL_PREFIX
CLASSPATH_URL_PREFIX
修飾子と型 | メソッドと説明 |
---|---|
static AssertableWebApplicationContext | get(SupplierSE<? extends ConfigurableWebApplicationContext> contextSupplier) 新しい AssertableWebApplicationContext インスタンスを作成するファクトリメソッド。 |
assertThat, close, get, getSourceApplicationContext, getSourceApplicationContext, getStartupFailure
getConfigLocations, getNamespace, getServletConfig, setConfigLocation, setConfigLocations, setNamespace, setServletConfig, setServletContext
getServletContext
addApplicationListener, addBeanFactoryPostProcessor, addProtocolResolver, getApplicationStartup, getBeanFactory, getEnvironment, isActive, refresh, registerShutdownHook, setApplicationStartup, setClassLoader, setEnvironment, setId, setParent
getApplicationName, getAutowireCapableBeanFactory, getDisplayName, getId, getParent, getStartupDate
containsBeanDefinition, findAnnotationOnBean, findAnnotationOnBean, getBeanDefinitionCount, getBeanDefinitionNames, getBeanNamesForAnnotation, getBeanNamesForType, getBeanNamesForType, getBeanNamesForType, getBeanNamesForType, getBeanProvider, getBeanProvider, getBeansOfType, getBeansOfType, getBeansWithAnnotation
containsLocalBean, getParentBeanFactory
containsBean, getAliases, getBean, getBean, getBean, getBean, getBean, getBeanProvider, getBeanProvider, getType, getType, isPrototype, isSingleton, isTypeMatch, isTypeMatch
getMessage, getMessage, getMessage
publishEvent, publishEvent
getResources
getClassLoader, getResource
static AssertableWebApplicationContext get(SupplierSE<? extends ConfigurableWebApplicationContext> contextSupplier)
AssertableWebApplicationContext
インスタンスを作成するファクトリメソッド。contextSupplier
- 完全に構成された ConfigurableWebApplicationContext
を返すか、コンテキストの開始に失敗した場合に例外をスローするサプライヤー。AssertableWebApplicationContext
インスタンス