类 FineelyConfigAnnotationRegistry
- java.lang.Object
-
- com.fineelyframework.config.FineelyConfigAnnotationRegistry
-
- 所有已实现的接口:
org.springframework.context.annotation.ImportBeanDefinitionRegistrar
@Component public class FineelyConfigAnnotationRegistry extends java.lang.Object implements org.springframework.context.annotation.ImportBeanDefinitionRegistrarCustom bean config registry.Get basePackages and basePackageClasses through @
EnableAutoConfigScanScan all entities implements
ConfigSupportinjectionFineelyConfigServletandConfigIntermediary- 从以下版本开始:
- 0.0.1
- 另请参阅:
Reflections,ConfigSupport,FineelyConfigServlet,ImportBeanDefinitionRegistrar
-
-
构造器概要
构造器 构造器 说明 FineelyConfigAnnotationRegistry()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidregisterBeanDefinitions(org.springframework.core.type.AnnotationMetadata importingClassMetadata, org.springframework.beans.factory.support.BeanDefinitionRegistry registry)Register bean definitions as necessary based on the given annotation metadata of the importing@Configurationclass.
-
-
-
方法详细资料
-
registerBeanDefinitions
public void registerBeanDefinitions(org.springframework.core.type.AnnotationMetadata importingClassMetadata, org.springframework.beans.factory.support.BeanDefinitionRegistry registry)Register 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 delegates to
registerBeanDefinitions(AnnotationMetadata, BeanDefinitionRegistry).- 指定者:
registerBeanDefinitions在接口中org.springframework.context.annotation.ImportBeanDefinitionRegistrar- 参数:
importingClassMetadata- annotation metadata of the importing classregistry- current bean definition registryConfigurationClassPostProcessor.IMPORT_BEAN_NAME_GENERATORby default, or a user-provided one ifConfigurationClassPostProcessor.setBeanNameGenerator(org.springframework.beans.factory.support.BeanNameGenerator)has been set. In the latter case, the passed-in strategy will be the same used for component scanning in the containing application context (otherwise, the default component-scan naming strategy isAnnotationBeanNameGenerator.INSTANCE).- 从以下版本开始:
- 5.2
- 另请参阅:
ConfigurationClassPostProcessor.IMPORT_BEAN_NAME_GENERATOR,ConfigurationClassPostProcessor.setBeanNameGenerator(org.springframework.beans.factory.support.BeanNameGenerator)
-
-