类 ReactiveWebApplicationContextRunner
java.lang.Object
org.springframework.boot.test.context.runner.AbstractApplicationContextRunner<ReactiveWebApplicationContextRunner,ConfigurableReactiveWebApplicationContext,AssertableReactiveWebApplicationContext>
org.springframework.boot.test.context.runner.ReactiveWebApplicationContextRunner
public final class ReactiveWebApplicationContextRunner
extends AbstractApplicationContextRunner<ReactiveWebApplicationContextRunner,ConfigurableReactiveWebApplicationContext,AssertableReactiveWebApplicationContext>
An
ApplicationContext runner
for a
ConfigurableReactiveWebApplicationContext
.
See AbstractApplicationContextRunner
for details.
- 从以下版本开始:
- 2.0.0
- 作者:
- Andy Wilkinson, Stephane Nicoll, Phillip Webb
-
嵌套类概要
从类继承的嵌套类/接口 org.springframework.boot.test.context.runner.AbstractApplicationContextRunner
AbstractApplicationContextRunner.BeanRegistration<T>, AbstractApplicationContextRunner.RunnerConfiguration<C extends ConfigurableApplicationContext>
-
构造器概要
构造器构造器说明Create a newReactiveWebApplicationContextRunner
instance using aAnnotationConfigReactiveWebApplicationContext
as the underlying source.ReactiveWebApplicationContextRunner
(Supplier<ConfigurableReactiveWebApplicationContext> contextFactory) Create a newApplicationContextRunner
instance using the specifiedcontextFactory
as the underlying source.ReactiveWebApplicationContextRunner
(Supplier<ConfigurableReactiveWebApplicationContext> contextFactory, Class<?>... additionalContextInterfaces) Create a newApplicationContextRunner
instance using the specifiedcontextFactory
as the underlying source. -
方法概要
从类继承的方法 org.springframework.boot.test.context.runner.AbstractApplicationContextRunner
prepare, run, with, withAllowBeanDefinitionOverriding, withAllowCircularReferences, withBean, withBean, withBean, withBean, withClassLoader, withConfiguration, withInitializer, withParent, withPropertyValues, withSystemProperties, withUserConfiguration
-
构造器详细资料
-
ReactiveWebApplicationContextRunner
public ReactiveWebApplicationContextRunner()Create a newReactiveWebApplicationContextRunner
instance using aAnnotationConfigReactiveWebApplicationContext
as the underlying source. -
ReactiveWebApplicationContextRunner
public ReactiveWebApplicationContextRunner(Supplier<ConfigurableReactiveWebApplicationContext> contextFactory) Create a newApplicationContextRunner
instance using the specifiedcontextFactory
as the underlying source.- 参数:
contextFactory
- a supplier that returns a new instance on each call be added to the application context proxy- 从以下版本开始:
- 3.4.0
-
ReactiveWebApplicationContextRunner
public ReactiveWebApplicationContextRunner(Supplier<ConfigurableReactiveWebApplicationContext> contextFactory, Class<?>... additionalContextInterfaces) Create a newApplicationContextRunner
instance using the specifiedcontextFactory
as the underlying source.- 参数:
contextFactory
- a supplier that returns a new instance on each calladditionalContextInterfaces
- any additional application context interfaces to be added to the application context proxy- 从以下版本开始:
- 3.4.0
-