public abstract class AbstractClassTestingTypeFilter extends java.lang.Object implements TypeFilter
ClassMetadata
object
to subclasses, for class testing purposes.match(org.springframework.core.type.ClassMetadata)
Constructor and Description |
---|
AbstractClassTestingTypeFilter() |
Modifier and Type | Method and Description |
---|---|
protected abstract boolean |
match(ClassMetadata metadata)
Determine a match based on the given ClassMetadata object.
|
boolean |
match(MetadataReader metadataReader,
MetadataReaderFactory metadataReaderFactory)
Determine whether this filter matches for the class described by
the given metadata.
|
public final boolean match(MetadataReader metadataReader, MetadataReaderFactory metadataReaderFactory) throws java.io.IOException
TypeFilter
match
in interface TypeFilter
metadataReader
- the metadata reader for the target classmetadataReaderFactory
- a factory for obtaining metadata readers
for other classes (such as superclasses and interfaces)java.io.IOException
- in case of I/O failure when reading metadataprotected abstract boolean match(ClassMetadata metadata)
metadata
- the ClassMetadata object