Commit fc29f548 authored by Phillip Webb's avatar Phillip Webb

Make Context implement AnnotationConfigRegistry

Update `AnnotationConfigReactiveWebServerApplicationContext` to
implement `AnnotationConfigRegistry`.

Fixes gh-11686
parent f3379668
...@@ -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.beans.factory.support.DefaultListableBeanFactory;
import org.springframework.context.annotation.AnnotatedBeanDefinitionReader; import org.springframework.context.annotation.AnnotatedBeanDefinitionReader;
import org.springframework.context.annotation.AnnotationConfigApplicationContext; import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.context.annotation.AnnotationConfigRegistry;
import org.springframework.context.annotation.AnnotationConfigUtils; import org.springframework.context.annotation.AnnotationConfigUtils;
import org.springframework.context.annotation.AnnotationScopeMetadataResolver; import org.springframework.context.annotation.AnnotationScopeMetadataResolver;
import org.springframework.context.annotation.ClassPathBeanDefinitionScanner; 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 * @see AnnotationConfigApplicationContext
*/ */
public class AnnotationConfigReactiveWebServerApplicationContext public class AnnotationConfigReactiveWebServerApplicationContext
extends ReactiveWebServerApplicationContext { extends ReactiveWebServerApplicationContext implements AnnotationConfigRegistry {
private final AnnotatedBeanDefinitionReader reader; private final AnnotatedBeanDefinitionReader reader;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment