public interface AssertableReactiveWebApplicationContext extends ApplicationContextAssertProvider<ConfigurableReactiveWebApplicationContext>, ConfigurableReactiveWebApplicationContext
ReactiveWebApplicationContext
that additionally supports AssertJ style
assertions. Can be used to decorate an existing reactive web application context or an
application context that failed to start.
See ApplicationContextAssertProvider
for more details.
ReactiveWebApplicationContext
,
ReactiveWebApplicationContext
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
Modifier and Type | Method and Description |
---|---|
static AssertableReactiveWebApplicationContext |
get(Supplier<? extends ConfigurableReactiveWebApplicationContext> contextSupplier)
Factory method to create a new
AssertableReactiveWebApplicationContext
instance. |
assertThat, close, get, getSourceApplicationContext, getSourceApplicationContext, getStartupFailure
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 AssertableReactiveWebApplicationContext get(Supplier<? extends ConfigurableReactiveWebApplicationContext> contextSupplier)
AssertableReactiveWebApplicationContext
instance.contextSupplier
- a supplier that will either return a fully configured
ConfigurableReactiveWebApplicationContext
or throw an exception if the
context fails to start.AssertableReactiveWebApplicationContext
instance