接口 AssertableReactiveWebApplicationContext
- 所有超级接口:
ApplicationContext
,ApplicationContextAssertProvider<ConfigurableReactiveWebApplicationContext>
,ApplicationEventPublisher
,org.assertj.core.api.AssertProvider<ApplicationContextAssert<ConfigurableReactiveWebApplicationContext>>
,AutoCloseable
,BeanFactory
,Closeable
,ConfigurableApplicationContext
,ConfigurableReactiveWebApplicationContext
,EnvironmentCapable
,HierarchicalBeanFactory
,Lifecycle
,ListableBeanFactory
,MessageSource
,ReactiveWebApplicationContext
,ResourceLoader
,ResourcePatternResolver
public interface AssertableReactiveWebApplicationContext
extends ApplicationContextAssertProvider<ConfigurableReactiveWebApplicationContext>, ConfigurableReactiveWebApplicationContext
A
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.
- 从以下版本开始:
- 2.0.0
- 作者:
- Phillip Webb
- 另请参阅:
-
字段概要
从接口继承的字段 org.springframework.beans.factory.BeanFactory
FACTORY_BEAN_PREFIX, FACTORY_BEAN_PREFIX_CHAR
从接口继承的字段 org.springframework.context.ConfigurableApplicationContext
APPLICATION_STARTUP_BEAN_NAME, BOOTSTRAP_EXECUTOR_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
从接口继承的字段 org.springframework.core.io.ResourceLoader
CLASSPATH_URL_PREFIX
从接口继承的字段 org.springframework.core.io.support.ResourcePatternResolver
CLASSPATH_ALL_URL_PREFIX
-
方法概要
静态方法修饰符和类型方法说明get
(Supplier<? extends ConfigurableReactiveWebApplicationContext> contextSupplier) Factory method to create a newAssertableReactiveWebApplicationContext
instance.get
(Supplier<? extends ConfigurableReactiveWebApplicationContext> contextSupplier, Class<?>... additionalContextInterfaces) Factory method to create a newAssertableReactiveWebApplicationContext
instance.从接口继承的方法 org.springframework.context.ApplicationContext
getApplicationName, getAutowireCapableBeanFactory, getDisplayName, getId, getParent, getStartupDate
从接口继承的方法 org.springframework.boot.test.context.assertj.ApplicationContextAssertProvider
assertThat, close, getSourceApplicationContext, getSourceApplicationContext, getStartupFailure
从接口继承的方法 org.springframework.context.ApplicationEventPublisher
publishEvent, publishEvent
从接口继承的方法 org.springframework.beans.factory.BeanFactory
containsBean, getAliases, getBean, getBean, getBean, getBean, getBean, getBeanProvider, getBeanProvider, getType, getType, isPrototype, isSingleton, isTypeMatch, isTypeMatch
从接口继承的方法 org.springframework.context.ConfigurableApplicationContext
addApplicationListener, addBeanFactoryPostProcessor, addProtocolResolver, close, getApplicationStartup, getBeanFactory, getEnvironment, isActive, isClosed, refresh, registerShutdownHook, removeApplicationListener, setApplicationStartup, setClassLoader, setEnvironment, setId, setParent
从接口继承的方法 org.springframework.beans.factory.HierarchicalBeanFactory
containsLocalBean, getParentBeanFactory
从接口继承的方法 org.springframework.beans.factory.ListableBeanFactory
containsBeanDefinition, findAllAnnotationsOnBean, findAnnotationOnBean, findAnnotationOnBean, getBeanDefinitionCount, getBeanDefinitionNames, getBeanNamesForAnnotation, getBeanNamesForType, getBeanNamesForType, getBeanNamesForType, getBeanNamesForType, getBeanProvider, getBeanProvider, getBeansOfType, getBeansOfType, getBeansWithAnnotation
从接口继承的方法 org.springframework.context.MessageSource
getMessage, getMessage, getMessage
从接口继承的方法 org.springframework.core.io.ResourceLoader
getClassLoader, getResource
从接口继承的方法 org.springframework.core.io.support.ResourcePatternResolver
getResources
-
方法详细资料
-
get
static AssertableReactiveWebApplicationContext get(Supplier<? extends ConfigurableReactiveWebApplicationContext> contextSupplier) Factory method to create a newAssertableReactiveWebApplicationContext
instance.- 参数:
contextSupplier
- a supplier that will either return a fully configuredConfigurableReactiveWebApplicationContext
or throw an exception if the context fails to start.- 返回:
- a
AssertableReactiveWebApplicationContext
instance
-
get
static AssertableReactiveWebApplicationContext get(Supplier<? extends ConfigurableReactiveWebApplicationContext> contextSupplier, Class<?>... additionalContextInterfaces) Factory method to create a newAssertableReactiveWebApplicationContext
instance.- 参数:
contextSupplier
- a supplier that will either return a fully configuredConfigurableReactiveWebApplicationContext
or throw an exception if the context fails to start.additionalContextInterfaces
- and additional context interfaces to add to the proxy- 返回:
- a
AssertableReactiveWebApplicationContext
instance - 从以下版本开始:
- 3.4.0
-