public class AutoRegionLookupBeanPostProcessor extends Object implements BeanPostProcessor, BeanFactoryAware
BeanPostProcessor
that post processes
a GemFireCache
by registering all cache Regions
that have not been explicitly
defined in the Spring application context. This is usually the case for Regions
that
have been defined in GemFire's native cache.xml or defined using GemFire 8's cluster-based
configuration service.BeanFactory
,
BeanFactoryAware
,
BeanPostProcessor
,
GemFireCache
,
Region
Constructor and Description |
---|
AutoRegionLookupBeanPostProcessor() |
Modifier and Type | Method and Description |
---|---|
protected ConfigurableListableBeanFactory |
getBeanFactory() |
Object |
postProcessAfterInitialization(Object bean,
String beanName) |
Object |
postProcessBeforeInitialization(Object bean,
String beanName) |
void |
setBeanFactory(BeanFactory beanFactory) |
public final void setBeanFactory(BeanFactory beanFactory) throws BeansException
setBeanFactory
in interface BeanFactoryAware
BeansException
protected ConfigurableListableBeanFactory getBeanFactory()
public Object postProcessBeforeInitialization(Object bean, String beanName) throws BeansException
postProcessBeforeInitialization
in interface BeanPostProcessor
BeansException
public Object postProcessAfterInitialization(Object bean, String beanName) throws BeansException
postProcessAfterInitialization
in interface BeanPostProcessor
BeansException
Copyright © 2011-2016–2017 Pivotal Software, Inc.. All rights reserved.