Class GatewaySenderBeanFactoryPostProcessor
java.lang.Object
org.springframework.data.gemfire.config.annotation.support.AbstractAnnotationConfigSupport
org.springframework.data.gemfire.config.support.GatewaySenderBeanFactoryPostProcessor
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.beans.factory.BeanClassLoaderAware
,org.springframework.beans.factory.BeanFactoryAware
,org.springframework.context.EnvironmentAware
@Configuration
public class GatewaySenderBeanFactoryPostProcessor
extends AbstractAnnotationConfigSupport
A
BeanFactoryPostProcessor
to associate the configured GatewaySender
onto the corresponding Region
.- Since:
- 2.2.0
- See Also:
-
Region
GatewaySender
BeanDefinition
BeanFactoryPostProcessor
ConfigurableListableBeanFactory
RuntimeBeanReference
ManagedList
Bean
Configuration
PeerRegionFactoryBean
AbstractAnnotationConfigSupport
GatewaySenderFactoryBean
-
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
CURRENT_THREAD_CONTEXT_CLASS_LOADER, INFRASTRUCTURE_ROLES, ORG_SPRINGFRAMEWORK_DATA_GEMFIRE_PACKAGE, ORG_SPRINGFRAMEWORK_PACKAGE, SPRING_DATA_GEMFIRE_PROPERTY_PREFIX
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Class<? extends Annotation>
Returns the cache applicationAnnotation
type pertaining to this configuration.org.springframework.beans.factory.config.BeanFactoryPostProcessor
BeanFactoryPostProcessor
assigningGatewaySenders
toRegions
.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, getLogger, hasValue, hasValue, hasValue, httpServiceProperty, isAnnotationPresent, isAnnotationPresent, isNotInfrastructureBean, isNotInfrastructureBean, isNotInfrastructureClass, isNotInfrastructureRole, isUserLevelMethod, locatorProperty, logDebug, logDebug, logError, logError, loggingProperty, logInfo, logInfo, logWarning, logWarning, managementProperty, managerProperty, memcachedServiceProperty, namedCacheServerProperty, namedDiskStoreProperty, namedGatewaySenderProperty, namedPoolProperty, newEvaluationContext, newLogger, pdxProperty, poolProperty, propertyName, register, register, requireProperty, resolveAnnotation, resolveBeanClass, resolveBeanClass, resolveBeanClass, resolveBeanClassLoader, resolveBeanClassLoader, resolveBeanClassLoader, resolveBeanClassName, resolveProperty, resolveProperty, resolveProperty, resolveProperty, resolveProperty, resolveProperty, resolveProperty, resolveProperty, safeResolveType, securityProperty, serviceProperty, setBeanClassLoader, setBeanFactory, setEnvironment, sslProperty, statsProperty
-
Constructor Details
-
GatewaySenderBeanFactoryPostProcessor
public GatewaySenderBeanFactoryPostProcessor()
-
-
Method Details
-
getAnnotationType
Description copied from class:AbstractAnnotationConfigSupport
Returns the cache applicationAnnotation
type pertaining to this configuration.- Specified by:
getAnnotationType
in classAbstractAnnotationConfigSupport
- Returns:
- the cache application
Annotation
type used by this application.
-
postProcessBeanFactory
@Bean public org.springframework.beans.factory.config.BeanFactoryPostProcessor postProcessBeanFactory() throws org.springframework.beans.BeansExceptionBeanFactoryPostProcessor
assigningGatewaySenders
toRegions
.- Returns:
BeanFactoryPostProcessor
for theGatewaySenderFactoryBean
.- Throws:
org.springframework.beans.BeansException
-BeanFactory
post processing fails.- See Also:
-
populateBeanDefinitionCache(ConfigurableListableBeanFactory)
groupGatewaySenderPerRegion(Map, Map)
addGatewaySendersToRegionFactory(ConfigurableListableBeanFactory, Map)
-