类 AnnotationCustomizableTypeExcludeFilter

  • 所有已实现的接口:
    org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.core.type.filter.TypeFilter

    public abstract class AnnotationCustomizableTypeExcludeFilter
    extends org.springframework.boot.context.TypeExcludeFilter
    implements org.springframework.beans.factory.BeanClassLoaderAware
    Abstract base class for a TypeExcludeFilter that can be customized using an annotation.
    从以下版本开始:
    1.4.0
    • 方法详细资料

      • setBeanClassLoader

        public void setBeanClassLoader​(ClassLoader classLoader)
        指定者:
        setBeanClassLoader 在接口中 org.springframework.beans.factory.BeanClassLoaderAware
      • match

        public boolean match​(org.springframework.core.type.classreading.MetadataReader metadataReader,
                             org.springframework.core.type.classreading.MetadataReaderFactory metadataReaderFactory)
                      throws IOException
        指定者:
        match 在接口中 org.springframework.core.type.filter.TypeFilter
        覆盖:
        match 在类中 org.springframework.boot.context.TypeExcludeFilter
        抛出:
        IOException
      • include

        protected boolean include​(org.springframework.core.type.classreading.MetadataReader metadataReader,
                                  org.springframework.core.type.classreading.MetadataReaderFactory metadataReaderFactory)
                           throws IOException
        抛出:
        IOException
      • defaultInclude

        protected boolean defaultInclude​(org.springframework.core.type.classreading.MetadataReader metadataReader,
                                         org.springframework.core.type.classreading.MetadataReaderFactory metadataReaderFactory)
                                  throws IOException
        抛出:
        IOException
      • exclude

        protected boolean exclude​(org.springframework.core.type.classreading.MetadataReader metadataReader,
                                  org.springframework.core.type.classreading.MetadataReaderFactory metadataReaderFactory)
                           throws IOException
        抛出:
        IOException
      • isTypeOrAnnotated

        protected final boolean isTypeOrAnnotated​(org.springframework.core.type.classreading.MetadataReader metadataReader,
                                                  org.springframework.core.type.classreading.MetadataReaderFactory metadataReaderFactory,
                                                  Class<?> type)
                                           throws IOException
        抛出:
        IOException
      • hashCode

        public int hashCode()
        覆盖:
        hashCode 在类中 org.springframework.boot.context.TypeExcludeFilter
      • equals

        public boolean equals​(Object obj)
        覆盖:
        equals 在类中 org.springframework.boot.context.TypeExcludeFilter