接口 AnnotationBeanDefinitionRegistrar<A extends Annotation>
- 所有超级接口:
cn.taketoday.core.annotation.AnnotationProvider<A>,ImportBeanDefinitionRegistrar
public interface AnnotationBeanDefinitionRegistrar<A extends Annotation>
extends cn.taketoday.core.annotation.AnnotationProvider<A>, ImportBeanDefinitionRegistrar
- 从以下版本开始:
- 3.0
- 作者:
- TODAY 2021/3/8 16:48
-
方法概要
修饰符和类型方法说明voidregisterBeanDefinitions(A target, cn.taketoday.core.type.AnnotationMetadata annotatedMetadata, BootstrapContext context) default voidregisterBeanDefinitions(cn.taketoday.core.type.AnnotationMetadata importMetadata, BootstrapContext context) Register bean definitions as necessary based on the given annotation metadata of the importing@Configurationclass.从接口继承的方法 cn.taketoday.core.annotation.AnnotationProvider
annotationType, getAnnotation, getAnnotation, getAnnotation, getAttributes, getMergedAnnotation
-
方法详细资料
-
registerBeanDefinitions
default void registerBeanDefinitions(cn.taketoday.core.type.AnnotationMetadata importMetadata, BootstrapContext context) 从接口复制的说明:ImportBeanDefinitionRegistrarRegister bean definitions as necessary based on the given annotation metadata of the importing@Configurationclass.Note that
BeanDefinitionRegistryPostProcessortypes may not be registered here, due to lifecycle constraints related to@Configurationclass processing.The default implementation is empty.
- 指定者:
registerBeanDefinitions在接口中ImportBeanDefinitionRegistrar- 参数:
importMetadata- annotation metadata of the importing classcontext- Bean definition loading context
-
registerBeanDefinitions
void registerBeanDefinitions(A target, cn.taketoday.core.type.AnnotationMetadata annotatedMetadata, BootstrapContext context)
-