类 FilterAnnotations

  • 所有已实现的接口:
    Iterable<org.springframework.core.type.filter.TypeFilter>

    public class FilterAnnotations
    extends Object
    implements Iterable<org.springframework.core.type.filter.TypeFilter>
    Utility to load TypeFilters from @Filter annotations.
    从以下版本开始:
    1.4.0
    • 构造器详细资料

      • FilterAnnotations

        public FilterAnnotations​(ClassLoader classLoader,
                                 org.springframework.context.annotation.ComponentScan.Filter[] filters)
    • 方法详细资料

      • iterator

        public Iterator<org.springframework.core.type.filter.TypeFilter> iterator()
        指定者:
        iterator 在接口中 Iterable<org.springframework.core.type.filter.TypeFilter>
      • anyMatches

        public boolean anyMatches​(org.springframework.core.type.classreading.MetadataReader metadataReader,
                                  org.springframework.core.type.classreading.MetadataReaderFactory metadataReaderFactory)
                           throws IOException
        抛出:
        IOException