Class JCacheOperationSourcePointcut

All Implemented Interfaces:
Serializable, MethodMatcher, Pointcut

@Deprecated(since="6.0.10", forRemoval=true) public abstract class JCacheOperationSourcePointcut extends StaticMethodMatcherPointcut implements Serializable
Deprecated, for removal: This API element is subject to removal in a future version.
since 6.0.10, as it is not used by the framework anymore
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()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • matches

      public boolean matches(Method method, Class<?> targetClass)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: MethodMatcher
      Perform static checking to determine whether the given method matches.

      If this method returns false or if MethodMatcher.isRuntime() returns false, no runtime check (i.e. no MethodMatcher.matches(Method, Class, Object[]) call) will be made.

      Specified by:
      matches in interface MethodMatcher
      Parameters:
      method - the candidate method
      targetClass - the target class
      Returns:
      whether this method matches statically
    • getCacheOperationSource

      @Nullable protected abstract JCacheOperationSource getCacheOperationSource()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Obtain the underlying JCacheOperationSource (may be null). To be implemented by subclasses.
    • equals

      public boolean equals(@Nullable Object other)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      toString in class Object