public class AddCacheServerConfiguration extends AbstractAnnotationConfigSupport implements ImportBeanDefinitionRegistrar
AddCacheServerConfiguration
class is a Spring ImportBeanDefinitionRegistrar
that registers
a CacheServerFactoryBean
definition for the CacheServer
configuration meta-data defined in EnableCacheServer
annotation.CacheServer
,
BeanFactory
,
BeanDefinition
,
BeanDefinitionBuilder
,
BeanDefinitionRegistry
,
ImportBeanDefinitionRegistrar
,
AnnotationMetadata
,
AddCacheServersConfiguration
,
CacheServerApplication
,
CacheServerConfiguration
,
CacheServerConfigurer
,
EnableCacheServers
,
EnableCacheServer
,
AbstractAnnotationConfigSupport
,
CacheServerFactoryBean
AbstractAnnotationConfigSupport.TypeResolver<T>
INFRASTRUCTURE_ROLES, ORG_SPRINGFRAMEWORK_DATA_GEMFIRE_PACKAGE, ORG_SPRINGFRAMEWORK_PACKAGE, SPRING_DATA_GEMFIRE_PROPERTY_PREFIX
Constructor and Description |
---|
AddCacheServerConfiguration() |
Modifier and Type | Method and Description |
---|---|
protected Class |
getAnnotationType()
Returns the cache application
Annotation type pertaining to this configuration. |
protected BeanDefinitionHolder |
newBeanDefinitionHolder(BeanDefinition beanDefinition,
String beanName) |
void |
registerBeanDefinitions(AnnotationMetadata importingClassMetadata,
BeanDefinitionRegistry registry) |
protected String |
registerCacheServerFactoryBeanDefinition(AbstractBeanDefinition beanDefinition,
String beanName,
BeanDefinitionRegistry registry) |
protected void |
registerCacheServerFactoryBeanDefinition(Map<String,Object> enableCacheServerAttributes,
BeanDefinitionRegistry registry)
Registers a
CacheServerFactoryBean bean definition for the given EnableCacheServer annotation
configuration 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, statsProperty
public void registerBeanDefinitions(AnnotationMetadata importingClassMetadata, BeanDefinitionRegistry registry)
registerBeanDefinitions
in interface ImportBeanDefinitionRegistrar
protected void registerCacheServerFactoryBeanDefinition(Map<String,Object> enableCacheServerAttributes, BeanDefinitionRegistry registry)
CacheServerFactoryBean
bean definition for the given EnableCacheServer
annotation
configuration meta-data.enableCacheServerAttributes
- attributes for the EnableCacheServer
annotation.registry
- BeanDefinitionRegistry
used to register the CacheServerFactoryBean
bean definition.BeanDefinitionBuilder
,
BeanDefinitionRegistry
,
CacheServerFactoryBean
protected String registerCacheServerFactoryBeanDefinition(AbstractBeanDefinition beanDefinition, String beanName, BeanDefinitionRegistry registry)
protected BeanDefinitionHolder newBeanDefinitionHolder(BeanDefinition beanDefinition, String beanName)
protected Class getAnnotationType()
AbstractAnnotationConfigSupport
Annotation
type pertaining to this configuration.getAnnotationType
in class AbstractAnnotationConfigSupport
Annotation
type used by this application.Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.