类 MiniDaoClassPathMapperScanner

java.lang.Object
org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider
org.springframework.context.annotation.ClassPathBeanDefinitionScanner
org.jeecgframework.minidao.factory.MiniDaoClassPathMapperScanner
所有已实现的接口:
org.springframework.beans.factory.Aware, org.springframework.context.ResourceLoaderAware, org.springframework.core.env.EnvironmentCapable

public class MiniDaoClassPathMapperScanner extends org.springframework.context.annotation.ClassPathBeanDefinitionScanner
Dao扫描层
作者:
JueYue
  • 构造器概要

    构造器
    构造器
    说明
    MiniDaoClassPathMapperScanner(org.springframework.beans.factory.support.BeanDefinitionRegistry registry, Class<? extends Annotation> annotation)
     
  • 方法概要

    修饰符和类型
    方法
    说明
    Set<org.springframework.beans.factory.config.BeanDefinitionHolder>
    doScan(String... basePackages)
     
    protected boolean
    isCandidateComponent(org.springframework.beans.factory.annotation.AnnotatedBeanDefinition beanDefinition)
    默认不允许接口的,这里重写,覆盖下,另外默认会Scan @Component 这样所以的被@Component 注解的都会Scan

    从类继承的方法 org.springframework.context.annotation.ClassPathBeanDefinitionScanner

    checkCandidate, getBeanDefinitionDefaults, getRegistry, isCompatible, postProcessBeanDefinition, registerBeanDefinition, scan, setAutowireCandidatePatterns, setBeanDefinitionDefaults, setBeanNameGenerator, setIncludeAnnotationConfig, setScopedProxyMode, setScopeMetadataResolver

    从类继承的方法 org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider

    addExcludeFilter, addIncludeFilter, clearCache, findCandidateComponents, getEnvironment, getMetadataReaderFactory, getResourceLoader, isCandidateComponent, registerDefaultFilters, resetFilters, resolveBasePackage, setEnvironment, setMetadataReaderFactory, setResourceLoader, setResourcePattern

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 构造器详细资料

    • MiniDaoClassPathMapperScanner

      public MiniDaoClassPathMapperScanner(org.springframework.beans.factory.support.BeanDefinitionRegistry registry, Class<? extends Annotation> annotation)
  • 方法详细资料

    • doScan

      public Set<org.springframework.beans.factory.config.BeanDefinitionHolder> doScan(String... basePackages)
      覆盖:
      doScan 在类中 org.springframework.context.annotation.ClassPathBeanDefinitionScanner
    • isCandidateComponent

      protected boolean isCandidateComponent(org.springframework.beans.factory.annotation.AnnotatedBeanDefinition beanDefinition)
      默认不允许接口的,这里重写,覆盖下,另外默认会Scan @Component 这样所以的被@Component 注解的都会Scan
      覆盖:
      isCandidateComponent 在类中 org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider