public final class ReactiveWebApplicationContextRunner extends AbstractApplicationContextRunner<ReactiveWebApplicationContextRunner,ConfigurableReactiveWebApplicationContext,AssertableReactiveWebApplicationContext>
ApplicationContext runner
for a
ConfigurableReactiveWebApplicationContext
.
See AbstractApplicationContextRunner
for details.
Constructor and Description |
---|
ReactiveWebApplicationContextRunner()
Create a new
ReactiveWebApplicationContextRunner instance using a
AnnotationConfigReactiveWebApplicationContext as the underlying source. |
ReactiveWebApplicationContextRunner(Supplier<ConfigurableReactiveWebApplicationContext> contextFactory)
Create a new
ApplicationContextRunner instance using the specified
contextFactory as the underlying source. |
Modifier and Type | Method and Description |
---|---|
protected ReactiveWebApplicationContextRunner |
newInstance(Supplier<ConfigurableReactiveWebApplicationContext> contextFactory,
List<org.springframework.context.ApplicationContextInitializer<? super ConfigurableReactiveWebApplicationContext>> initializers,
TestPropertyValues environmentProperties,
TestPropertyValues systemProperties,
ClassLoader classLoader,
org.springframework.context.ApplicationContext parent,
List<Configurations> configurations) |
run, with, withClassLoader, withConfiguration, withInitializer, withParent, withPropertyValues, withSystemProperties, withUserConfiguration
public ReactiveWebApplicationContextRunner()
ReactiveWebApplicationContextRunner
instance using a
AnnotationConfigReactiveWebApplicationContext
as the underlying source.public ReactiveWebApplicationContextRunner(Supplier<ConfigurableReactiveWebApplicationContext> contextFactory)
ApplicationContextRunner
instance using the specified
contextFactory
as the underlying source.contextFactory
- a supplier that returns a new instance on each callprotected ReactiveWebApplicationContextRunner newInstance(Supplier<ConfigurableReactiveWebApplicationContext> contextFactory, List<org.springframework.context.ApplicationContextInitializer<? super ConfigurableReactiveWebApplicationContext>> initializers, TestPropertyValues environmentProperties, TestPropertyValues systemProperties, ClassLoader classLoader, org.springframework.context.ApplicationContext parent, List<Configurations> configurations)
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.