程序包 infra.aop

类 TrueClassFilter

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

final class TrueClassFilter extends Object implements ClassFilter, Serializable
Canonical ClassFilter instance that matches all classes.
从以下版本开始:
3.0
作者:
Rod Johnson, TODAY 2021/2/1 18:13
  • 字段详细资料

  • 构造器详细资料

    • TrueClassFilter

      private TrueClassFilter()
      Enforce Singleton pattern.
  • 方法详细资料

    • matches

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

      private Object readResolve()
      Required to support serialization. Replaces with canonical instance on deserialization, protecting Singleton pattern. Alternative to overriding equals().
    • toString

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