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,
Map<String,Object> 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,
Map<String,Object> enablePoolAttributes,
BeanDefinitionBuilder poolFactoryBean) |
protected BeanDefinitionBuilder |
configurePoolServers(String poolName,
Map<String,Object> enablePoolAttributes,
BeanDefinitionBuilder poolFactoryBean) |
protected String |
getAndValidatePoolName(Map<String,Object> enablePoolAttributes) |
protected Class |
getAnnotationType()
Returns the cache application
Annotation type pertaining to this configuration. |
protected ConnectionEndpoint |
newConnectionEndpoint(String host,
Integer port) |
protected ConnectionEndpointList |
parseConnectionEndpoints(Map<String,Object> enablePoolAttributes,
String arrayAttributeName,
String stringAttributeName,
int defaultPort) |
void |
registerBeanDefinitions(AnnotationMetadata importingClassMetadata,
BeanDefinitionRegistry registry) |
protected void |
registerPoolFactoryBeanDefinition(Map<String,Object> 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, 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, namedPoolProperty, newEvaluationContext, newLog, pdxProperty, poolProperty, propertyName, redisServiceProperty, register, register, requireProperty, resolveAnnotation, resolveBeanClass, resolveBeanClass, resolveBeanClassLoader, resolveBeanClassLoader, resolveBeanClassName, resolveProperty, resolveProperty, resolveProperty, resolveProperty, resolveProperty, resolveProperty, resolveProperty, resolveProperty, safeResolveType, securityProperty, serviceProperty, setBeanClassLoader, setBeanFactory, setEnvironment, sslProperty, statsPropertypublic void registerBeanDefinitions(AnnotationMetadata importingClassMetadata, BeanDefinitionRegistry registry)
registerBeanDefinitions in interface ImportBeanDefinitionRegistrarprotected void registerPoolFactoryBeanDefinition(Map<String,Object> 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, Map<String,Object> 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, Map<String,Object> enablePoolAttributes, BeanDefinitionBuilder poolFactoryBean)
protected BeanDefinitionBuilder configurePoolServers(String poolName, Map<String,Object> enablePoolAttributes, BeanDefinitionBuilder poolFactoryBean)
protected ConnectionEndpointList parseConnectionEndpoints(Map<String,Object> enablePoolAttributes, String arrayAttributeName, String stringAttributeName, int defaultPort)
protected ConnectionEndpoint newConnectionEndpoint(String host, Integer port)
protected Class getAnnotationType()
AbstractAnnotationConfigSupportAnnotation type pertaining to this configuration.getAnnotationType in class AbstractAnnotationConfigSupportAnnotation type used by this application.Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.