Class CachePointcut

java.lang.Object
org.springframework.aop.support.StaticMethodMatcher
org.springframework.aop.support.StaticMethodMatcherPointcut
com.alicp.jetcache.anno.aop.CachePointcut
All Implemented Interfaces:
org.springframework.aop.ClassFilter, org.springframework.aop.MethodMatcher, org.springframework.aop.Pointcut

public class CachePointcut extends org.springframework.aop.support.StaticMethodMatcherPointcut implements org.springframework.aop.ClassFilter
Author:
huangli
  • Field Summary

    Fields inherited from interface org.springframework.aop.ClassFilter

    TRUE

    Fields inherited from interface org.springframework.aop.MethodMatcher

    TRUE

    Fields inherited from interface org.springframework.aop.Pointcut

    TRUE
  • Constructor Summary

    Constructors
    Constructor
    Description
    CachePointcut(String[] basePackages)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static String
    getKey(Method method, Class targetClass)
     
    boolean
    matches(Class clazz)
     
    boolean
    matches(Method method, Class targetClass)
     
    boolean
     
    void
    setCacheConfigMap(ConfigMap cacheConfigMap)
     

    Methods inherited from class org.springframework.aop.support.StaticMethodMatcherPointcut

    getClassFilter, getMethodMatcher, setClassFilter

    Methods inherited from class org.springframework.aop.support.StaticMethodMatcher

    isRuntime, matches

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CachePointcut

      public CachePointcut(String[] basePackages)
  • Method Details

    • matches

      public boolean matches(Class clazz)
      Specified by:
      matches in interface org.springframework.aop.ClassFilter
    • matchesThis

      public boolean matchesThis(Class clazz)
    • matches

      public boolean matches(Method method, Class targetClass)
      Specified by:
      matches in interface org.springframework.aop.MethodMatcher
    • getKey

      public static String getKey(Method method, Class targetClass)
    • setCacheConfigMap

      public void setCacheConfigMap(ConfigMap cacheConfigMap)