AnnotationConfigReactiveWebApplicationContext

constructor()

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


constructor(beanFactory: DefaultListableBeanFactory)

Create a new AnnotationConfigApplicationContext with the given DefaultListableBeanFactory.

Since

2.2.0

Parameters

beanFactory

the DefaultListableBeanFactory instance to use for this context


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

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

Since

2.2.0

Parameters

annotatedClasses

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


constructor(basePackages: Array<String>)

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

Since

2.2.0

Parameters

basePackages

the packages to check for annotated classes