接口的使用
org.springframework.boot.web.reactive.context.ConfigurableReactiveWebApplicationContext
程序包
说明
AssertJ support for ApplicationContexts.
Test utilities to run application contexts for testing.
Reactive based web integrations with Spring's
ApplicationContext
.-
org.springframework.boot.test.context.assertj中ConfigurableReactiveWebApplicationContext的使用
修饰符和类型接口说明interface
AReactiveWebApplicationContext
that additionally supports AssertJ style assertions.类型变量类型为ConfigurableReactiveWebApplicationContext的org.springframework.boot.test.context.assertj中的方法参数修饰符和类型方法说明AssertableReactiveWebApplicationContext.get
(Supplier<? extends ConfigurableReactiveWebApplicationContext> contextSupplier) Factory method to create a newAssertableReactiveWebApplicationContext
instance.AssertableReactiveWebApplicationContext.get
(Supplier<? extends ConfigurableReactiveWebApplicationContext> contextSupplier, Class<?>... additionalContextInterfaces) Factory method to create a newAssertableReactiveWebApplicationContext
instance. -
org.springframework.boot.test.context.runner中ConfigurableReactiveWebApplicationContext的使用
类型变量类型为ConfigurableReactiveWebApplicationContext的org.springframework.boot.test.context.runner中的构造器参数限定符构造器说明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.web.reactive.context中ConfigurableReactiveWebApplicationContext的使用
修饰符和类型类说明class
ConfigurableReactiveWebApplicationContext
that accepts annotated classes as input - in particular@Configuration
-annotated classes, but also plain@Component
classes and JSR-330 compliant classes usingjavax.inject
annotations.class
ReactiveWebServerApplicationContext
that accepts annotated classes as input - in particular@Configuration
-annotated classes, but also plain@Component
classes and JSR-330 compliant classes usingjavax.inject
annotations.class
Subclass ofGenericApplicationContext
, suitable for reactive web environments.class
AGenericReactiveWebApplicationContext
that can be used to bootstrap itself from a containedReactiveWebServerFactory
bean.