类 AspectJTypeFilter

  • 所有已实现的接口:
    TypeFilter

    public class AspectJTypeFilter
    extends Object
    implements TypeFilter
    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.

    从以下版本开始:
    2.5
    作者:
    Ramnivas Laddad, Juergen Hoeller
    • 方法详细资料

      • match

        public boolean match​(MetadataReader metadataReader,
                             MetadataReaderFactory metadataReaderFactory)
                      throws IOException
        从接口复制的说明: TypeFilter
        Determine whether this filter matches for the class described by the given metadata.
        指定者:
        match 在接口中 TypeFilter
        参数:
        metadataReader - the metadata reader for the target class
        metadataReaderFactory - a factory for obtaining metadata readers for other classes (such as superclasses and interfaces)
        返回:
        whether this filter matches
        抛出:
        IOException - in case of I/O failure when reading metadata