Browse Source

Make Context implement AnnotationConfigRegistry

Update `AnnotationConfigReactiveWebServerApplicationContext` to
implement `AnnotationConfigRegistry`.

Fixes gh-11686
pull/11690/merge
Phillip Webb 8 years ago
parent
commit
fc29f54868
  1. 3
      spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/reactive/context/AnnotationConfigReactiveWebServerApplicationContext.java

3
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/reactive/context/AnnotationConfigReactiveWebServerApplicationContext.java

@ -21,6 +21,7 @@ import org.springframework.beans.factory.support.BeanNameGenerator; @@ -21,6 +21,7 @@ import org.springframework.beans.factory.support.BeanNameGenerator;
import org.springframework.beans.factory.support.DefaultListableBeanFactory;
import org.springframework.context.annotation.AnnotatedBeanDefinitionReader;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.context.annotation.AnnotationConfigRegistry;
import org.springframework.context.annotation.AnnotationConfigUtils;
import org.springframework.context.annotation.AnnotationScopeMetadataResolver;
import org.springframework.context.annotation.ClassPathBeanDefinitionScanner;
@ -51,7 +52,7 @@ import org.springframework.util.ObjectUtils; @@ -51,7 +52,7 @@ import org.springframework.util.ObjectUtils;
* @see AnnotationConfigApplicationContext
*/
public class AnnotationConfigReactiveWebServerApplicationContext
extends ReactiveWebServerApplicationContext {
extends ReactiveWebServerApplicationContext implements AnnotationConfigRegistry {
private final AnnotatedBeanDefinitionReader reader;

Loading…
Cancel
Save