spring-framework / org.springframework.cache.interceptor / CacheAspectSupport / <init>

<init>

CacheAspectSupport()

Base class for caching aspects, such as the CacheInterceptor or an AspectJ aspect.

This enables the underlying Spring caching infrastructure to be used easily to implement an aspect for any aspect system.

Subclasses are responsible for calling methods in this class in the correct order.

Uses the Strategy design pattern. A CacheResolver implementation will resolve the actual cache(s) to use, and a CacheOperationSource is used for determining caching operations.

A cache aspect is serializable if its CacheResolver and CacheOperationSource are serializable.

Author
Costin Leau

Author
Juergen Hoeller

Author
Chris Beams

Author
Phillip Webb

Author
Sam Brannen

Author
Stephane Nicoll

Since
3.1