Java org.springframework.context.annotation AnnotatedBeanDefinitionReader fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.context.annotation AnnotatedBeanDefinitionReader fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.context.annotation AnnotatedBeanDefinitionReader.

The text is from its open source code.

Constructor

AnnotatedBeanDefinitionReader(BeanDefinitionRegistry registry)
Create a new AnnotatedBeanDefinitionReader for the given registry.

Method

voidregister(Class... annotatedClasses)
Register one or more annotated classes to be processed.
voidregisterBean(Class annotatedClass, @Nullable String name, Class... qualifiers)
Register a bean from the given bean class, deriving its metadata from class-declared annotations.
voidregisterBean(Class annotatedClass, @Nullable String name, @Nullable Supplier supplier)
Register a bean from the given bean class, deriving its metadata from class-declared annotations, using the given supplier for obtaining a new instance (possibly declared as a lambda expression or method reference).
voidsetBeanNameGenerator(@Nullable BeanNameGenerator beanNameGenerator)
Set the BeanNameGenerator to use for detected bean classes.
voidsetEnvironment(Environment environment)
Set the Environment to use when evaluating whether Conditional @Conditional -annotated component classes should be registered.
voidsetScopeMetadataResolver(@Nullable ScopeMetadataResolver scopeMetadataResolver)
Set the ScopeMetadataResolver to use for detected bean classes.