类 ClassScannerUtil

java.lang.Object
com.budwk.app.base.utils.ClassScannerUtil
所有已实现的接口:
org.springframework.beans.factory.Aware, org.springframework.context.ResourceLoaderAware

public class ClassScannerUtil extends Object implements org.springframework.context.ResourceLoaderAware
  • 构造器详细资料

    • ClassScannerUtil

      public ClassScannerUtil()
  • 方法详细资料

    • scan

      public static Set<Class> scan(String[] basePackages, Class<? extends Annotation>... annotations)
    • scan

      public static Set<Class> scan(String basePackages, Class<? extends Annotation>... annotations)
    • getResourceLoader

      public final org.springframework.core.io.ResourceLoader getResourceLoader()
    • setResourceLoader

      public void setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader)
      指定者:
      setResourceLoader 在接口中 org.springframework.context.ResourceLoaderAware
    • addIncludeFilter

      public void addIncludeFilter(org.springframework.core.type.filter.TypeFilter includeFilter)
    • addExcludeFilter

      public void addExcludeFilter(org.springframework.core.type.filter.TypeFilter excludeFilter)
    • resetFilters

      public void resetFilters(boolean useDefaultFilters)
    • doScan

      public Set<Class> doScan(String basePackage)
    • matches

      protected boolean matches(org.springframework.core.type.classreading.MetadataReader metadataReader) throws IOException
      抛出:
      IOException