Class CacheInterceptor

All Implemented Interfaces:
Serializable, Advice, Interceptor, MethodInterceptor, Aware, BeanFactoryAware, InitializingBean, SmartInitializingSingleton

public class CacheInterceptor extends CacheAspectSupport implements MethodInterceptor, Serializable
AOP Alliance MethodInterceptor for declarative cache management using the common Spring caching infrastructure (Cache).

Derives from the CacheAspectSupport class which contains the integration with Spring's underlying caching API. CacheInterceptor simply calls the relevant superclass methods in the correct order.

CacheInterceptors are thread-safe.

Since:
3.1
Author:
Costin Leau, Juergen Hoeller
See Also:
  • Constructor Details

    • CacheInterceptor

      public CacheInterceptor()
  • Method Details