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<? extends Annotation> |
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(AnnotationAttributes 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, 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
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 registerBeanDefinitions(AnnotationMetadata importingClassMetadata, BeanDefinitionRegistry registry)
registerBeanDefinitions
in interface ImportBeanDefinitionRegistrar
protected void registerCacheServerFactoryBeanDefinition(AnnotationAttributes 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)
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.