Class AnnotationScanner

java.lang.Object
com.mikuac.shiro.common.utils.AnnotationScanner
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.context.ResourceLoaderAware

public class AnnotationScanner extends Object implements org.springframework.context.ResourceLoaderAware

ScanUtils class.

  • Constructor Details

    • AnnotationScanner

      public AnnotationScanner()
  • Method Details

    • setResourceLoader

      public void setResourceLoader(@NonNull @NonNull org.springframework.core.io.ResourceLoader resourceLoader)
      Specified by:
      setResourceLoader in interface org.springframework.context.ResourceLoaderAware
    • scan

      public Set<Class<?>> scan(String packageName)
      扫描注解类
      Parameters:
      packageName - 包名
      Returns:
      注解集合