public abstract class AnnotationCustomizableTypeExcludeFilter
extends org.springframework.boot.context.TypeExcludeFilter
implements org.springframework.beans.factory.BeanClassLoaderAware
TypeExcludeFilter that can be customized using an
annotation.| Modifier and Type | Class and Description |
|---|---|
protected static class |
AnnotationCustomizableTypeExcludeFilter.FilterType |
| Constructor and Description |
|---|
AnnotationCustomizableTypeExcludeFilter() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
defaultInclude(org.springframework.core.type.classreading.MetadataReader metadataReader,
org.springframework.core.type.classreading.MetadataReaderFactory metadataReaderFactory) |
boolean |
equals(java.lang.Object obj) |
protected boolean |
exclude(org.springframework.core.type.classreading.MetadataReader metadataReader,
org.springframework.core.type.classreading.MetadataReaderFactory metadataReaderFactory) |
protected abstract java.util.Set<java.lang.Class<?>> |
getComponentIncludes() |
protected abstract java.util.Set<java.lang.Class<?>> |
getDefaultIncludes() |
protected abstract org.springframework.context.annotation.ComponentScan.Filter[] |
getFilters(AnnotationCustomizableTypeExcludeFilter.FilterType type) |
protected abstract boolean |
hasAnnotation() |
int |
hashCode() |
protected boolean |
include(org.springframework.core.type.classreading.MetadataReader metadataReader,
org.springframework.core.type.classreading.MetadataReaderFactory metadataReaderFactory) |
protected boolean |
isTypeOrAnnotated(org.springframework.core.type.classreading.MetadataReader metadataReader,
org.springframework.core.type.classreading.MetadataReaderFactory metadataReaderFactory,
java.lang.Class<?> type) |
protected abstract boolean |
isUseDefaultFilters() |
boolean |
match(org.springframework.core.type.classreading.MetadataReader metadataReader,
org.springframework.core.type.classreading.MetadataReaderFactory metadataReaderFactory) |
void |
setBeanClassLoader(java.lang.ClassLoader classLoader) |
public AnnotationCustomizableTypeExcludeFilter()
public void setBeanClassLoader(java.lang.ClassLoader classLoader)
setBeanClassLoader in interface org.springframework.beans.factory.BeanClassLoaderAwarepublic boolean match(org.springframework.core.type.classreading.MetadataReader metadataReader,
org.springframework.core.type.classreading.MetadataReaderFactory metadataReaderFactory)
throws java.io.IOException
match in interface org.springframework.core.type.filter.TypeFiltermatch in class org.springframework.boot.context.TypeExcludeFilterjava.io.IOExceptionprotected boolean include(org.springframework.core.type.classreading.MetadataReader metadataReader,
org.springframework.core.type.classreading.MetadataReaderFactory metadataReaderFactory)
throws java.io.IOException
java.io.IOExceptionprotected boolean defaultInclude(org.springframework.core.type.classreading.MetadataReader metadataReader,
org.springframework.core.type.classreading.MetadataReaderFactory metadataReaderFactory)
throws java.io.IOException
java.io.IOExceptionprotected boolean exclude(org.springframework.core.type.classreading.MetadataReader metadataReader,
org.springframework.core.type.classreading.MetadataReaderFactory metadataReaderFactory)
throws java.io.IOException
java.io.IOExceptionprotected final boolean isTypeOrAnnotated(org.springframework.core.type.classreading.MetadataReader metadataReader,
org.springframework.core.type.classreading.MetadataReaderFactory metadataReaderFactory,
java.lang.Class<?> type)
throws java.io.IOException
java.io.IOExceptionprotected abstract boolean hasAnnotation()
protected abstract org.springframework.context.annotation.ComponentScan.Filter[] getFilters(AnnotationCustomizableTypeExcludeFilter.FilterType type)
protected abstract boolean isUseDefaultFilters()
protected abstract java.util.Set<java.lang.Class<?>> getDefaultIncludes()
protected abstract java.util.Set<java.lang.Class<?>> getComponentIncludes()
public boolean equals(java.lang.Object obj)
equals in class org.springframework.boot.context.TypeExcludeFilterpublic int hashCode()
hashCode in class org.springframework.boot.context.TypeExcludeFilter