Class AddCacheServerConfiguration
java.lang.Object
org.springframework.data.gemfire.config.annotation.support.AbstractAnnotationConfigSupport
org.springframework.data.gemfire.config.annotation.AddCacheServerConfiguration
- All Implemented Interfaces:
Aware,BeanClassLoaderAware,BeanFactoryAware,ImportBeanDefinitionRegistrar,EnvironmentAware
- Direct Known Subclasses:
AddCacheServersConfiguration
public class AddCacheServerConfiguration
extends AbstractAnnotationConfigSupport
implements ImportBeanDefinitionRegistrar
The
AddCacheServerConfiguration class is a Spring ImportBeanDefinitionRegistrar that registers
a CacheServerFactoryBean definition for the CacheServer
configuration meta-data defined in EnableCacheServer annotation.- Since:
- 1.9.0
- Author:
- John Blum
- See Also:
-
CacheServerBeanFactoryBeanDefinitionBeanDefinitionBuilderBeanDefinitionRegistryImportBeanDefinitionRegistrarAnnotationMetadataAddCacheServersConfigurationCacheServerApplicationCacheServerConfigurationCacheServerConfigurerEnableCacheServersEnableCacheServerAbstractAnnotationConfigSupportCacheServerFactoryBean
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.data.gemfire.config.annotation.support.AbstractAnnotationConfigSupport
AbstractAnnotationConfigSupport.TypeResolver<T> -
Field Summary
Fields inherited from class org.springframework.data.gemfire.config.annotation.support.AbstractAnnotationConfigSupport
INFRASTRUCTURE_ROLES, ORG_SPRINGFRAMEWORK_DATA_GEMFIRE_PACKAGE, ORG_SPRINGFRAMEWORK_PACKAGE, SPRING_DATA_GEMFIRE_PROPERTY_PREFIX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Class<? extends Annotation>Returns the cache applicationAnnotationtype pertaining to this configuration.protected BeanDefinitionHoldernewBeanDefinitionHolder(BeanDefinition beanDefinition, String beanName) voidregisterBeanDefinitions(AnnotationMetadata importingClassMetadata, BeanDefinitionRegistry registry) protected StringregisterCacheServerFactoryBeanDefinition(AbstractBeanDefinition beanDefinition, String beanName, BeanDefinitionRegistry registry) protected voidregisterCacheServerFactoryBeanDefinition(AnnotationAttributes enableCacheServerAttributes, BeanDefinitionRegistry registry) Registers aCacheServerFactoryBeanbean definition for the givenEnableCacheServerannotation configuration meta-data.Methods inherited from class org.springframework.data.gemfire.config.annotation.support.AbstractAnnotationConfigSupport
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, statsPropertyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.annotation.ImportBeanDefinitionRegistrar
registerBeanDefinitions
-
Constructor Details
-
AddCacheServerConfiguration
public AddCacheServerConfiguration()
-
-
Method Details
-
getAnnotationType
Description copied from class:AbstractAnnotationConfigSupportReturns the cache applicationAnnotationtype pertaining to this configuration.- Specified by:
getAnnotationTypein classAbstractAnnotationConfigSupport- Returns:
- the cache application
Annotationtype used by this application.
-
registerBeanDefinitions
public void registerBeanDefinitions(AnnotationMetadata importingClassMetadata, BeanDefinitionRegistry registry) - Specified by:
registerBeanDefinitionsin interfaceImportBeanDefinitionRegistrar
-
registerCacheServerFactoryBeanDefinition
protected void registerCacheServerFactoryBeanDefinition(AnnotationAttributes enableCacheServerAttributes, BeanDefinitionRegistry registry) Registers aCacheServerFactoryBeanbean definition for the givenEnableCacheServerannotation configuration meta-data.- Parameters:
enableCacheServerAttributes- attributes for theEnableCacheServerannotation.registry-BeanDefinitionRegistryused to register theCacheServerFactoryBeanbean definition.- See Also:
-
registerCacheServerFactoryBeanDefinition
protected String registerCacheServerFactoryBeanDefinition(AbstractBeanDefinition beanDefinition, String beanName, BeanDefinitionRegistry registry) -
newBeanDefinitionHolder
protected BeanDefinitionHolder newBeanDefinitionHolder(BeanDefinition beanDefinition, String beanName)
-