类 ForestScannerRegister

java.lang.Object
com.dtflys.forest.springboot.annotation.ForestScannerRegister
所有已实现的接口:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.context.annotation.ImportBeanDefinitionRegistrar

public class ForestScannerRegister extends Object implements org.springframework.beans.factory.BeanFactoryAware, org.springframework.context.annotation.ImportBeanDefinitionRegistrar
从以下版本开始:
2018-09-25 11:59
作者:
guihuo (E-mail:1620657419@qq.com)
  • 构造器详细资料

    • ForestScannerRegister

      public ForestScannerRegister()
  • 方法详细资料

    • registerBeanDefinitions

      public void registerBeanDefinitions(org.springframework.core.type.AnnotationMetadata importingClassMetadata, org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
      指定者:
      registerBeanDefinitions 在接口中 org.springframework.context.annotation.ImportBeanDefinitionRegistrar
    • setBeanFactory

      public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) throws org.springframework.beans.BeansException
      指定者:
      setBeanFactory 在接口中 org.springframework.beans.factory.BeanFactoryAware
      抛出:
      org.springframework.beans.BeansException
    • getBasePackages

      public static List<String> getBasePackages()
      获取所要扫描的所有包名
      返回:
      包名字符串列表
    • cleanBackPackages

      public static void cleanBackPackages()
      清空扫描的包名
    • getConfigurationId

      public static String getConfigurationId()
      获取Forest全局配置ID
      返回:
      Forest全局配置ID字符串