类 RootClassFilter

java.lang.Object
infra.aop.support.RootClassFilter
所有已实现的接口:
ClassFilter, Serializable

public class RootClassFilter extends Object implements ClassFilter, Serializable
Simple ClassFilter implementation that passes classes (and optionally subclasses).
从以下版本开始:
3.0
作者:
Rod Johnson, Sam Brannen, TODAY 2021/2/3 23:45
另请参阅:
  • 字段详细资料

    • clazz

      private final Class<?> clazz
  • 构造器详细资料

    • RootClassFilter

      public RootClassFilter(Class<?> clazz)
  • 方法详细资料

    • matches

      public boolean matches(Class<?> candidate)
      从接口复制的说明: ClassFilter
      Should the pointcut apply to the given interface or target class?
      指定者:
      matches 在接口中 ClassFilter
      参数:
      candidate - the candidate target class
      返回:
      whether the advice should apply to the given target class
    • equals

      public boolean equals(Object other)
      覆盖:
      equals 在类中 Object
    • hashCode

      public int hashCode()
      覆盖:
      hashCode 在类中 Object
    • toString

      public String toString()
      覆盖:
      toString 在类中 Object