Class JCacheOperationSourcePointcut

java.lang.Object
org.springframework.aop.support.StaticMethodMatcher
org.springframework.aop.support.StaticMethodMatcherPointcut
org.springframework.cache.jcache.interceptor.JCacheOperationSourcePointcut
All Implemented Interfaces:
Serializable, org.springframework.aop.MethodMatcher, org.springframework.aop.Pointcut

public abstract class JCacheOperationSourcePointcut extends org.springframework.aop.support.StaticMethodMatcherPointcut implements Serializable
A Pointcut that matches if the underlying JCacheOperationSource has an operation for a given method.
Since:
4.1
Author:
Stephane Nicoll
See Also:
  • Constructor Details

    • JCacheOperationSourcePointcut

      public JCacheOperationSourcePointcut()
  • Method Details

    • matches

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

      @Nullable protected abstract JCacheOperationSource getCacheOperationSource()
      Obtain the underlying JCacheOperationSource (may be null). To be implemented by subclasses.
    • equals

      public boolean equals(@Nullable Object other)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object