spring-framework / org.springframework.cache.annotation / AnnotationCacheOperationSource / <init>

<init>

AnnotationCacheOperationSource()

Create a default AnnotationCacheOperationSource, supporting public methods that carry the Cacheable and CacheEvict annotations.

AnnotationCacheOperationSource(publicMethodsOnly: Boolean)

Create a default AnnotationCacheOperationSource, supporting public methods that carry the Cacheable and CacheEvict annotations.

Parameters

publicMethodsOnly - whether to support only annotated public methods typically for use with proxy-based AOP), or protected/private methods as well (typically used with AspectJ class weaving)

AnnotationCacheOperationSource(annotationParser: CacheAnnotationParser)

Create a custom AnnotationCacheOperationSource.

Parameters

annotationParser - the CacheAnnotationParser to use

AnnotationCacheOperationSource(vararg annotationParsers: CacheAnnotationParser)
AnnotationCacheOperationSource(annotationParsers: MutableSet<CacheAnnotationParser>)

Create a custom AnnotationCacheOperationSource.

Parameters

annotationParsers - the CacheAnnotationParser to use