AnnotationConfigServletWebServerApplicationContext
Create a new AnnotationConfigServletWebServerApplicationContext that needs to be populated through register calls and then manually refreshed.
Create a new AnnotationConfigServletWebServerApplicationContext with the given DefaultListableBeanFactory
. The context needs to be populated through register calls and then manually refreshed.
Parameters
the DefaultListableBeanFactory instance to use for this context
Create a new AnnotationConfigServletWebServerApplicationContext, deriving bean definitions from the given annotated classes and automatically refreshing the context.
Parameters
one or more annotated classes, e.g. @Configuration
classes
Create a new AnnotationConfigServletWebServerApplicationContext, scanning for bean definitions in the given packages and automatically refreshing the context.
Parameters
the packages to check for annotated classes