public class AspectJTypeFilter extends Object implements TypeFilter
A critical implementation details of this type filter is that it does not load the class being examined to match with a type pattern.
Constructor and Description |
---|
AspectJTypeFilter(String typePatternExpression,
ClassLoader classLoader) |
Modifier and Type | Method and Description |
---|---|
boolean |
match(MetadataReader metadataReader,
MetadataReaderFactory metadataReaderFactory)
Determine whether this filter matches for the class described by
the given metadata.
|
public AspectJTypeFilter(String typePatternExpression, ClassLoader classLoader)
public boolean match(MetadataReader metadataReader, MetadataReaderFactory metadataReaderFactory) throws 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)IOException
- in case of I/O failure when reading metadata