接口的使用
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的使用
修饰符和类型接口说明interfaceAReactiveWebApplicationContextthat additionally supports AssertJ style assertions.类型变量类型为ConfigurableReactiveWebApplicationContext的org.springframework.boot.test.context.assertj中的方法参数修饰符和类型方法说明AssertableReactiveWebApplicationContext.get(Supplier<? extends ConfigurableReactiveWebApplicationContext> contextSupplier) Factory method to create a newAssertableReactiveWebApplicationContextinstance.AssertableReactiveWebApplicationContext.get(Supplier<? extends ConfigurableReactiveWebApplicationContext> contextSupplier, Class<?>... additionalContextInterfaces) Factory method to create a newAssertableReactiveWebApplicationContextinstance. -
org.springframework.boot.test.context.runner中ConfigurableReactiveWebApplicationContext的使用
类型变量类型为ConfigurableReactiveWebApplicationContext的org.springframework.boot.test.context.runner中的构造器参数限定符构造器说明ReactiveWebApplicationContextRunner(Supplier<ConfigurableReactiveWebApplicationContext> contextFactory) Create a newApplicationContextRunnerinstance using the specifiedcontextFactoryas the underlying source.ReactiveWebApplicationContextRunner(Supplier<ConfigurableReactiveWebApplicationContext> contextFactory, Class<?>... additionalContextInterfaces) Create a newApplicationContextRunnerinstance using the specifiedcontextFactoryas the underlying source. -
org.springframework.boot.web.reactive.context中ConfigurableReactiveWebApplicationContext的使用
修饰符和类型类说明classConfigurableReactiveWebApplicationContextthat accepts annotated classes as input - in particular@Configuration-annotated classes, but also plain@Componentclasses and JSR-330 compliant classes usingjavax.injectannotations.classReactiveWebServerApplicationContextthat accepts annotated classes as input - in particular@Configuration-annotated classes, but also plain@Componentclasses and JSR-330 compliant classes usingjavax.injectannotations.classSubclass ofGenericApplicationContext, suitable for reactive web environments.classAGenericReactiveWebApplicationContextthat can be used to bootstrap itself from a containedReactiveWebServerFactorybean.