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
ConstructorsConstructorDescriptionCreate a newReactiveWebApplicationContextRunnerinstance using aAnnotationConfigReactiveWebApplicationContextas the underlying source.ReactiveWebApplicationContextRunner(Supplier<ConfigurableReactiveWebApplicationContext> contextFactory) Create a newApplicationContextRunnerinstance using the specifiedcontextFactoryas the underlying source. -
Method Summary
Methods inherited from class org.springframework.boot.test.context.runner.AbstractApplicationContextRunner
prepare, run, with, withAllowBeanDefinitionOverriding, withAllowCircularReferences, withBean, withBean, withBean, withBean, withClassLoader, withConfiguration, withInitializer, withParent, withPropertyValues, withSystemProperties, withUserConfiguration
-
Constructor Details
-
ReactiveWebApplicationContextRunner
public ReactiveWebApplicationContextRunner()Create a newReactiveWebApplicationContextRunnerinstance using aAnnotationConfigReactiveWebApplicationContextas the underlying source. -
ReactiveWebApplicationContextRunner
public ReactiveWebApplicationContextRunner(Supplier<ConfigurableReactiveWebApplicationContext> contextFactory) Create a newApplicationContextRunnerinstance using the specifiedcontextFactoryas the underlying source.- Parameters:
contextFactory- a supplier that returns a new instance on each call
-