AnnotationConfigReactiveWebServerApplicationContext

constructor()

Create a new AnnotationConfigReactiveWebServerApplicationContext that needs to be populated through register calls and then manually refreshed.


constructor(beanFactory: DefaultListableBeanFactory)

Create a new AnnotationConfigReactiveWebServerApplicationContext with the given DefaultListableBeanFactory. The context needs to be populated through register calls and then manually refreshed.

Parameters

beanFactory

the DefaultListableBeanFactory instance to use for this context


constructor(annotatedClasses: Array<Class<out Any>>)

Create a new AnnotationConfigReactiveWebServerApplicationContext, deriving bean definitions from the given annotated classes and automatically refreshing the context.

Parameters

annotatedClasses

one or more annotated classes, e.g. @Configuration classes


constructor(basePackages: Array<String>)

Create a new AnnotationConfigReactiveWebServerApplicationContext, scanning for bean definitions in the given packages and automatically refreshing the context.

Parameters

basePackages

the packages to check for annotated classes