public class AutoRegionLookupConfiguration extends AbstractAnnotationConfigSupport implements ImportBeanDefinitionRegistrar
AutoRegionLookupConfiguration
class is a Spring ImportBeanDefinitionRegistrar
that enables
the automatic lookup of GemFire Regions, which may have been defined else where, such as in cache.xml
or using GemFire's Cluster Configuration Service.
This registrar works by registering the AutoRegionLookupBeanPostProcessor
in the Spring application context,
which is enabled when a Spring @Configuration
annotated
GemFire cache application class is annotated with EnableAutoRegionLookup
.BeanFactory
,
AbstractBeanDefinition
,
BeanDefinitionBuilder
,
BeanDefinitionRegistry
,
ImportBeanDefinitionRegistrar
,
Environment
,
AnnotationMetadata
,
EnableAutoRegionLookup
,
AbstractAnnotationConfigSupport
,
AutoRegionLookupBeanPostProcessor
,
ExpressionParser
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 |
---|
AutoRegionLookupConfiguration() |
Modifier and Type | Method and Description |
---|---|
protected Class<? extends Annotation> |
getAnnotationType()
Returns the cache application
Annotation type pertaining to this configuration. |
void |
registerBeanDefinitions(AnnotationMetadata importingClassMetadata,
BeanDefinitionRegistry registry) |
void |
setBeanFactory(BeanFactory beanFactory) |
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, setEnvironment, sslProperty, statsProperty
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
registerBeanDefinitions
protected Class<? extends Annotation> getAnnotationType()
AbstractAnnotationConfigSupport
Annotation
type pertaining to this configuration.getAnnotationType
in class AbstractAnnotationConfigSupport
Annotation
type used by this application.public void setBeanFactory(BeanFactory beanFactory) throws BeansException
setBeanFactory
in interface BeanFactoryAware
setBeanFactory
in class AbstractAnnotationConfigSupport
BeansException
public void registerBeanDefinitions(AnnotationMetadata importingClassMetadata, BeanDefinitionRegistry registry)
registerBeanDefinitions
in interface ImportBeanDefinitionRegistrar
Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.