Class DubboClassPathBeanDefinitionScanner

java.lang.Object
org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider
org.springframework.context.annotation.ClassPathBeanDefinitionScanner
org.apache.dubbo.config.spring.context.annotation.DubboClassPathBeanDefinitionScanner
All Implemented Interfaces:
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.
Since:
2.5.7
See Also:
  • ClassPathBeanDefinitionScanner.doScan(String...)
  • ClassPathScanningCandidateComponentProvider.registerDefaultFilters()
  • Constructor Summary

    Constructors
    Constructor
    Description
    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)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Set<org.springframework.beans.factory.config.BeanDefinition>
     

    Methods inherited from class org.springframework.context.annotation.ClassPathBeanDefinitionScanner

    getBeanDefinitionDefaults, getRegistry, scan, setAutowireCandidatePatterns, setBeanDefinitionDefaults, setBeanNameGenerator, setIncludeAnnotationConfig, setScopedProxyMode, setScopeMetadataResolver

    Methods inherited from class org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider

    addExcludeFilter, addIncludeFilter, clearCache, getEnvironment, getMetadataReaderFactory, getResourceLoader, resetFilters, setEnvironment, setMetadataReaderFactory, setResourceLoader, setResourcePattern

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • 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)
  • Method Details

    • findCandidateComponents

      public Set<org.springframework.beans.factory.config.BeanDefinition> findCandidateComponents(String basePackage)
      Overrides:
      findCandidateComponents in class org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider