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) |
protected boolean |
exclude(org.springframework.core.type.classreading.MetadataReader metadataReader,
org.springframework.core.type.classreading.MetadataReaderFactory metadataReaderFactory) |
protected abstract Set<Class<?>> |
getDefaultIncludes() |
protected abstract org.springframework.context.annotation.ComponentScan.Filter[] |
getFilters(AnnotationCustomizableTypeExcludeFilter.FilterType type) |
protected abstract boolean |
hasAnnotation() |
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,
Class<?> type) |
protected abstract boolean |
isUseDefaultFilters() |
boolean |
match(org.springframework.core.type.classreading.MetadataReader metadataReader,
org.springframework.core.type.classreading.MetadataReaderFactory metadataReaderFactory) |
void |
setBeanClassLoader(ClassLoader classLoader) |
public AnnotationCustomizableTypeExcludeFilter()
public void setBeanClassLoader(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 IOException
match in interface org.springframework.core.type.filter.TypeFiltermatch in class org.springframework.boot.context.TypeExcludeFilterIOExceptionprotected boolean include(org.springframework.core.type.classreading.MetadataReader metadataReader,
org.springframework.core.type.classreading.MetadataReaderFactory metadataReaderFactory)
throws IOException
IOExceptionprotected boolean defaultInclude(org.springframework.core.type.classreading.MetadataReader metadataReader,
org.springframework.core.type.classreading.MetadataReaderFactory metadataReaderFactory)
throws IOException
IOExceptionprotected boolean exclude(org.springframework.core.type.classreading.MetadataReader metadataReader,
org.springframework.core.type.classreading.MetadataReaderFactory metadataReaderFactory)
throws IOException
IOExceptionprotected final boolean isTypeOrAnnotated(org.springframework.core.type.classreading.MetadataReader metadataReader,
org.springframework.core.type.classreading.MetadataReaderFactory metadataReaderFactory,
Class<?> type)
throws IOException
IOExceptionprotected abstract boolean hasAnnotation()
protected abstract org.springframework.context.annotation.ComponentScan.Filter[] getFilters(AnnotationCustomizableTypeExcludeFilter.FilterType type)
protected abstract boolean isUseDefaultFilters()
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.