public class

AspectJTypeFilter

extends Object
implements TypeFilter
java.lang.Object
   ↳ org.springframework.core.type.filter.AspectJTypeFilter

Class Overview

Type filter that uses AspectJ type pattern for matching.

A critical implementation details of this type filter is that it does not load the class being examined to match with a type pattern.

Summary

Public Constructors
AspectJTypeFilter(String typePatternExpression, ClassLoader classLoader)
Public Methods
boolean match(MetadataReader metadataReader, MetadataReaderFactory metadataReaderFactory)
Determine whether this filter matches for the class described by the given metadata.
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.springframework.core.type.filter.TypeFilter

Public Constructors

public AspectJTypeFilter (String typePatternExpression, ClassLoader classLoader)

Also: SpringCore

Public Methods

public boolean match (MetadataReader metadataReader, MetadataReaderFactory metadataReaderFactory)

Also: SpringCore

Determine whether this filter matches for the class described by the given metadata.

Parameters
metadataReader the metadata reader for the target class
metadataReaderFactory a factory for obtaining metadata readers for other classes (such as superclasses and interfaces)
Returns
  • whether this filter matches
Throws
IOException