Example usage for org.springframework.context.annotation AnnotationConfigRegistry interface-usage

List of usage examples for org.springframework.context.annotation AnnotationConfigRegistry interface-usage

Introduction

In this page you can find the example usage for org.springframework.context.annotation AnnotationConfigRegistry interface-usage.

Usage

From source file org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext.java

/**
 * {@link ServletWebServerApplicationContext} that accepts annotated classes as input - in
 * particular {@link org.springframework.context.annotation.Configuration @Configuration}
 * -annotated classes, but also plain {@link Component @Component} classes and JSR-330
 * compliant classes using {@code javax.inject} annotations. Allows for registering
 * classes one by one (specifying class names as config location) as well as for classpath