类 DubboClassPathBeanDefinitionScanner

  • 所有已实现的接口:
    org.springframework.beans.factory.Aware, org.springframework.context.ResourceLoaderAware, org.springframework.core.env.EnvironmentCapable

    public class DubboClassPathBeanDefinitionScanner
    extends org.springframework.context.annotation.ClassPathBeanDefinitionScanner
    Dubbo ClassPathBeanDefinitionScanner that exposes some methods to be public.
    从以下版本开始:
    2.5.7
    另请参阅:
    doScan(String...), ClassPathScanningCandidateComponentProvider.registerDefaultFilters()
    • 构造器概要

      构造器 
      构造器 说明
      DubboClassPathBeanDefinitionScanner(org.springframework.beans.factory.support.BeanDefinitionRegistry registry, boolean useDefaultFilters, org.springframework.core.env.Environment environment, org.springframework.core.io.ResourceLoader resourceLoader)  
      DubboClassPathBeanDefinitionScanner(org.springframework.beans.factory.support.BeanDefinitionRegistry registry, org.springframework.core.env.Environment environment, org.springframework.core.io.ResourceLoader resourceLoader)  
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      boolean checkCandidate(String beanName, org.springframework.beans.factory.config.BeanDefinition beanDefinition)  
      Set<org.springframework.beans.factory.config.BeanDefinitionHolder> doScan(String... basePackages)  
      • 从类继承的方法 org.springframework.context.annotation.ClassPathBeanDefinitionScanner

        getBeanDefinitionDefaults, getRegistry, scan, setAutowireCandidatePatterns, setBeanDefinitionDefaults, setBeanNameGenerator, setIncludeAnnotationConfig, setScopedProxyMode, setScopeMetadataResolver
      • 从类继承的方法 org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider

        addExcludeFilter, addIncludeFilter, clearCache, findCandidateComponents, getEnvironment, getMetadataReaderFactory, getResourceLoader, resetFilters, setEnvironment, setMetadataReaderFactory, setResourceLoader, setResourcePattern
    • 构造器详细资料

      • DubboClassPathBeanDefinitionScanner

        public DubboClassPathBeanDefinitionScanner(org.springframework.beans.factory.support.BeanDefinitionRegistry registry,
                                                   boolean useDefaultFilters,
                                                   org.springframework.core.env.Environment environment,
                                                   org.springframework.core.io.ResourceLoader resourceLoader)
      • DubboClassPathBeanDefinitionScanner

        public DubboClassPathBeanDefinitionScanner(org.springframework.beans.factory.support.BeanDefinitionRegistry registry,
                                                   org.springframework.core.env.Environment environment,
                                                   org.springframework.core.io.ResourceLoader resourceLoader)
    • 方法详细资料

      • doScan

        public Set<org.springframework.beans.factory.config.BeanDefinitionHolder> doScan(String... basePackages)