AnnotationConfigReactiveWebApplicationContext Class — spring-boot Architecture
Architecture documentation for the AnnotationConfigReactiveWebApplicationContext class in AnnotationConfigReactiveWebApplicationContext.java from the spring-boot codebase.
Entity Profile
Relationship Graph
Source Code
core/spring-boot/src/main/java/org/springframework/boot/web/context/reactive/AnnotationConfigReactiveWebApplicationContext.java lines 43–96
public class AnnotationConfigReactiveWebApplicationContext extends AnnotationConfigApplicationContext
implements ConfigurableReactiveWebApplicationContext {
/**
* Create a new AnnotationConfigReactiveWebApplicationContext that needs to be
* populated through {@link #register} calls and then manually {@linkplain #refresh
* refreshed}.
*/
public AnnotationConfigReactiveWebApplicationContext() {
}
/**
* Create a new AnnotationConfigApplicationContext with the given
* DefaultListableBeanFactory.
* @param beanFactory the DefaultListableBeanFactory instance to use for this context
* @since 2.2.0
*/
public AnnotationConfigReactiveWebApplicationContext(DefaultListableBeanFactory beanFactory) {
super(beanFactory);
}
/**
* Create a new AnnotationConfigApplicationContext, deriving bean definitions from the
* given annotated classes and automatically refreshing the context.
* @param annotatedClasses one or more annotated classes, e.g.
* {@link Configuration @Configuration} classes
* @since 2.2.0
*/
public AnnotationConfigReactiveWebApplicationContext(Class<?>... annotatedClasses) {
super(annotatedClasses);
}
/**
* Create a new AnnotationConfigApplicationContext, scanning for bean definitions in
* the given packages and automatically refreshing the context.
* @param basePackages the packages to check for annotated classes
* @since 2.2.0
*/
public AnnotationConfigReactiveWebApplicationContext(String... basePackages) {
super(basePackages);
}
@Override
protected ConfigurableEnvironment createEnvironment() {
return new StandardReactiveWebEnvironment();
}
@Override
protected Resource getResourceByPath(String path) {
// We must be careful not to expose classpath resources
return new FilteredReactiveWebContextResource(path);
}
}
Domain
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free