protected abstract class CachingDefinedRegionsConfiguration.AbstractCacheNameResolver extends Object implements CachingDefinedRegionsConfiguration.CacheNameResolver
CachingDefinedRegionsConfiguration.AbstractCacheNameResolver
is an abstract base class encapsulating reusable functionality common
to all CachingDefinedRegionsConfiguration.CacheNameResolver
implementations.
Current implementations support inlude JSR-107, JCache API annotation and Spring's Cache Abstraction annotations.Modifier | Constructor and Description |
---|---|
protected |
AbstractCacheNameResolver() |
Modifier and Type | Method and Description |
---|---|
protected Class[] |
append(Class[] annotationTypes,
Class... additionalAnnotationTypes) |
protected abstract Class<? extends Annotation>[] |
getClassCacheAnnotationTypes() |
protected abstract Class<? extends Annotation>[] |
getMethodCacheAnnotationTypes() |
protected Set<String> |
resolveCacheNames(AnnotatedElement annotatedElement,
Class<? extends Annotation>... annotationTypes) |
protected Set<String> |
resolveCacheNames(Annotation annotation) |
Set<String> |
resolveCacheNames(Class<?> type) |
protected abstract Class<? extends Annotation>[] getClassCacheAnnotationTypes()
protected abstract Class<? extends Annotation>[] getMethodCacheAnnotationTypes()
protected Set<String> resolveCacheNames(Annotation annotation)
public Set<String> resolveCacheNames(Class<?> type)
resolveCacheNames
in interface CachingDefinedRegionsConfiguration.CacheNameResolver
protected Set<String> resolveCacheNames(AnnotatedElement annotatedElement, Class<? extends Annotation>... annotationTypes)
Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.