public class AddPoolConfiguration extends AbstractAnnotationConfigSupport implements ImportBeanDefinitionRegistrar
AddPoolConfiguration class is a Spring ImportBeanDefinitionRegistrar that registers
a PoolFactoryBean definition for the Pool
configuration meta-data defined in EnablePool annotations.Pool,
BeanFactory,
BeanDefinitionBuilder,
BeanDefinitionRegistry,
ImportBeanDefinitionRegistrar,
AnnotationMetadata,
PoolFactoryBean,
AddPoolsConfiguration,
PoolConfigurer,
EnablePools,
EnablePool,
AbstractAnnotationConfigSupportAbstractAnnotationConfigSupport.TypeResolver<T>INFRASTRUCTURE_ROLES, ORG_SPRINGFRAMEWORK_DATA_GEMFIRE_PACKAGE, ORG_SPRINGFRAMEWORK_PACKAGE, SPRING_DATA_GEMFIRE_PROPERTY_PREFIX| Constructor and Description |
|---|
AddPoolConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
protected BeanDefinitionBuilder |
configurePoolConnections(String poolName,
AnnotationAttributes enablePoolAttributes,
BeanDefinitionBuilder poolFactoryBean)
Uses the list of GemFire Locator and Server connection endpoint definitions and meta-data to configure
the GemFire client
Pool used to communicate with the servers
in the GemFire cluster. |
protected BeanDefinitionBuilder |
configurePoolLocators(String poolName,
AnnotationAttributes enablePoolAttributes,
BeanDefinitionBuilder poolFactoryBean) |
protected BeanDefinitionBuilder |
configurePoolServers(String poolName,
AnnotationAttributes enablePoolAttributes,
BeanDefinitionBuilder poolFactoryBean) |
protected String |
getAndValidatePoolName(Map<String,Object> enablePoolAttributes) |
protected Class<? extends Annotation> |
getAnnotationType()
Returns the cache application
Annotation type pertaining to this configuration. |
protected ConnectionEndpoint |
newConnectionEndpoint(String host,
Integer port) |
protected ConnectionEndpointList |
parseConnectionEndpoints(AnnotationAttributes enablePoolAttributes,
String arrayAttributeName,
String stringAttributeName,
int defaultPort) |
void |
registerBeanDefinitions(AnnotationMetadata importingClassMetadata,
BeanDefinitionRegistry registry) |
protected void |
registerPoolFactoryBeanDefinition(AnnotationAttributes enablePoolAttributes,
BeanDefinitionRegistry registry)
Registers a
PoolFactoryBean definition in the Spring application context configured with
the EnablePool annotation meta-data. |
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, statsPropertyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitregisterBeanDefinitionsprotected Class<? extends Annotation> getAnnotationType()
AbstractAnnotationConfigSupportAnnotation type pertaining to this configuration.getAnnotationType in class AbstractAnnotationConfigSupportAnnotation type used by this application.public void registerBeanDefinitions(AnnotationMetadata importingClassMetadata, BeanDefinitionRegistry registry)
registerBeanDefinitions in interface ImportBeanDefinitionRegistrarprotected void registerPoolFactoryBeanDefinition(AnnotationAttributes enablePoolAttributes, BeanDefinitionRegistry registry)
PoolFactoryBean definition in the Spring application context configured with
the EnablePool annotation meta-data.enablePoolAttributes - EnablePool annotation attributes.registry - Spring BeanDefinitionRegistry used to register the PoolFactoryBean definition.BeanDefinitionRegistry,
PoolFactoryBean,
EnablePool,
Mapprotected String getAndValidatePoolName(Map<String,Object> enablePoolAttributes)
protected BeanDefinitionBuilder configurePoolConnections(String poolName, AnnotationAttributes enablePoolAttributes, BeanDefinitionBuilder poolFactoryBean)
Pool used to communicate with the servers
in the GemFire cluster.enablePoolAttributes - EnablePool annotation containing
Pool Locator/Server connection endpoint meta-data.ClientCacheApplication,
Mapprotected BeanDefinitionBuilder configurePoolLocators(String poolName, AnnotationAttributes enablePoolAttributes, BeanDefinitionBuilder poolFactoryBean)
protected BeanDefinitionBuilder configurePoolServers(String poolName, AnnotationAttributes enablePoolAttributes, BeanDefinitionBuilder poolFactoryBean)
protected ConnectionEndpointList parseConnectionEndpoints(AnnotationAttributes enablePoolAttributes, String arrayAttributeName, String stringAttributeName, int defaultPort)
protected ConnectionEndpoint newConnectionEndpoint(String host, Integer port)
Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.