Class 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.
- Since:
- 2.0.0
- Author:
- Andy Wilkinson, Stephane Nicoll, Phillip Webb
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.boot.test.context.runner.AbstractApplicationContextRunner
AbstractApplicationContextRunner.BeanRegistration<T>, AbstractApplicationContextRunner.RunnerConfiguration<C extends ConfigurableApplicationContext>
-
Constructor Summary
ConstructorDescriptionCreate a newReactiveWebApplicationContextRunner
instance using aAnnotationConfigReactiveWebApplicationContext
as the underlying source.ReactiveWebApplicationContextRunner
(Supplier<ConfigurableReactiveWebApplicationContext> contextFactory) Create a newApplicationContextRunner
instance using the specifiedcontextFactory
as the underlying source. -
Method Summary
Methods inherited from class org.springframework.boot.test.context.runner.AbstractApplicationContextRunner
run, with, withAllowBeanDefinitionOverriding, withAllowCircularReferences, withBean, withBean, withBean, withBean, withClassLoader, withConfiguration, withInitializer, withParent, withPropertyValues, withSystemProperties, withUserConfiguration
-
Constructor Details
-
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.- Parameters:
contextFactory
- a supplier that returns a new instance on each call
-