public abstract static class CachingDefinedRegionsConfiguration.AbstractCacheNameResolver extends AbstractAnnotationConfigSupport 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.AbstractAnnotationConfigSupport.TypeResolver<T>
CURRENT_THREAD_CONTEXT_CLASS_LOADER, INFRASTRUCTURE_ROLES, ORG_SPRINGFRAMEWORK_DATA_GEMFIRE_PACKAGE, ORG_SPRINGFRAMEWORK_PACKAGE, SPRING_DATA_GEMFIRE_PROPERTY_PREFIX
Constructor and Description |
---|
AbstractCacheNameResolver() |
Modifier and Type | Method and Description |
---|---|
protected Class[] |
append(Class[] annotationTypes,
Class... additionalAnnotationTypes) |
protected Class<? extends Annotation> |
getAnnotationType()
Returns the cache application
Annotation type pertaining to this configuration. |
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) |
arrayOfPropertyNamesFor, arrayOfPropertyNamesFor, asArrayProperty, cacheClientProperty, cacheCompressionProperty, cacheOffHeapProperty, cachePeerProperty, cacheProperty, cacheServerProperty, clusterProperty, diskStoreProperty, entitiesProperty, gatewayReceiverProperty, gatewaySenderProperty, getAnnotationAttributes, getAnnotationAttributes, getAnnotationAttributes, getAnnotationTypeName, getAnnotationTypeSimpleName, getBeanClassLoader, getBeanFactory, getEnvironment, getEvaluationContext, getLogger, hasValue, hasValue, hasValue, httpServiceProperty, isAnnotationPresent, isAnnotationPresent, isNotInfrastructureBean, isNotInfrastructureBean, isNotInfrastructureClass, isNotInfrastructureRole, isUserLevelMethod, locatorProperty, logDebug, logDebug, logError, logError, loggingProperty, logInfo, logInfo, logWarning, logWarning, managementProperty, managerProperty, memcachedServiceProperty, namedCacheServerProperty, namedDiskStoreProperty, namedGatewaySenderProperty, namedPoolProperty, newEvaluationContext, newLogger, pdxProperty, poolProperty, propertyName, redisServiceProperty, register, register, requireProperty, resolveAnnotation, resolveBeanClass, resolveBeanClass, resolveBeanClass, resolveBeanClassLoader, resolveBeanClassLoader, resolveBeanClassLoader, resolveBeanClassName, resolveProperty, resolveProperty, resolveProperty, resolveProperty, resolveProperty, resolveProperty, resolveProperty, resolveProperty, safeResolveType, securityProperty, serviceProperty, setBeanClassLoader, setBeanFactory, setEnvironment, sslProperty, statsProperty
protected final Class<? extends Annotation> getAnnotationType()
AbstractAnnotationConfigSupport
Annotation
type pertaining to this configuration.getAnnotationType
in class AbstractAnnotationConfigSupport
Annotation
type used by this application.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–2023 Pivotal Software, Inc.. All rights reserved.