Class CachingDefinedRegionsConfiguration.AbstractCacheNameResolver
java.lang.Object
org.springframework.data.gemfire.config.annotation.support.AbstractAnnotationConfigSupport
org.springframework.data.gemfire.config.annotation.CachingDefinedRegionsConfiguration.AbstractCacheNameResolver
- All Implemented Interfaces:
Aware
,BeanClassLoaderAware
,BeanFactoryAware
,EnvironmentAware
,CachingDefinedRegionsConfiguration.CacheNameResolver
- Direct Known Subclasses:
CachingDefinedRegionsConfiguration.SpringCacheAnnotationsCacheNameResolver
- Enclosing class:
- CachingDefinedRegionsConfiguration
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.-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.data.gemfire.config.annotation.support.AbstractAnnotationConfigSupport
AbstractAnnotationConfigSupport.TypeResolver<T>
-
Field Summary
Fields inherited from class org.springframework.data.gemfire.config.annotation.support.AbstractAnnotationConfigSupport
INFRASTRUCTURE_ROLES, ORG_SPRINGFRAMEWORK_DATA_GEMFIRE_PACKAGE, ORG_SPRINGFRAMEWORK_PACKAGE, SPRING_DATA_GEMFIRE_PROPERTY_PREFIX
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Class[]
protected final Class<? extends Annotation>
Returns the cache applicationAnnotation
type pertaining to this configuration.protected abstract Class<? extends Annotation>[]
protected abstract Class<? extends Annotation>[]
resolveCacheNames
(Annotation annotation) resolveCacheNames
(Class<?> type) resolveCacheNames
(AnnotatedElement annotatedElement, Class<? extends Annotation>... annotationTypes) Methods inherited from class org.springframework.data.gemfire.config.annotation.support.AbstractAnnotationConfigSupport
arrayOfPropertyNamesFor, arrayOfPropertyNamesFor, asArrayProperty, cacheClientProperty, cacheCompressionProperty, cacheOffHeapProperty, cachePeerProperty, cacheProperty, cacheServerProperty, clusterProperty, diskStoreProperty, entitiesProperty, gatewayReceiverProperty, gatewaySenderProperty, getAnnotationAttributes, getAnnotationAttributes, getAnnotationAttributes, getAnnotationTypeName, getAnnotationTypeSimpleName, getBeanClassLoader, getBeanFactory, getEnvironment, getEvaluationContext, getLog, hasValue, hasValue, hasValue, httpServiceProperty, isAnnotationPresent, isAnnotationPresent, isNotInfrastructureBean, isNotInfrastructureBean, isNotInfrastructureClass, isNotInfrastructureClass, isNotInfrastructureRole, isUserLevelMethod, locatorProperty, logDebug, logDebug, logError, logError, loggingProperty, logInfo, logInfo, logWarning, logWarning, managementProperty, managerProperty, memcachedServiceProperty, namedCacheServerProperty, namedDiskStoreProperty, namedGatewaySenderProperty, namedPoolProperty, newEvaluationContext, newLog, pdxProperty, poolProperty, propertyName, redisServiceProperty, register, register, requireProperty, resolveAnnotation, resolveBeanClass, resolveBeanClass, resolveBeanClass, resolveBeanClassLoader, resolveBeanClassLoader, resolveBeanClassName, resolveProperty, resolveProperty, resolveProperty, resolveProperty, resolveProperty, resolveProperty, resolveProperty, resolveProperty, safeResolveType, securityProperty, serviceProperty, setBeanClassLoader, setBeanFactory, setEnvironment, sslProperty, statsProperty
-
Constructor Details
-
AbstractCacheNameResolver
public AbstractCacheNameResolver()
-
-
Method Details
-
getAnnotationType
Description copied from class:AbstractAnnotationConfigSupport
Returns the cache applicationAnnotation
type pertaining to this configuration.- Specified by:
getAnnotationType
in classAbstractAnnotationConfigSupport
- Returns:
- the cache application
Annotation
type used by this application.
-
getClassCacheAnnotationTypes
-
getMethodCacheAnnotationTypes
-
append
-
resolveCacheNames
-
resolveCacheNames
- Specified by:
resolveCacheNames
in interfaceCachingDefinedRegionsConfiguration.CacheNameResolver
-
resolveCacheNames
protected Set<String> resolveCacheNames(AnnotatedElement annotatedElement, Class<? extends Annotation>... annotationTypes)
-