public class AutoRegionLookupBeanPostProcessor extends Object implements BeanPostProcessor, BeanFactoryAware
AutoRegionLookupBeanPostProcessor
class is a Spring 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 Cluster-based Configuration Service.GemFireCache
,
Region
,
BeanFactory
,
BeanFactoryAware
,
BeanPostProcessor
Constructor and Description |
---|
AutoRegionLookupBeanPostProcessor() |
Modifier and Type | Method and Description |
---|---|
protected ConfigurableListableBeanFactory |
getBeanFactory() |
Object |
postProcessAfterInitialization(Object bean,
String beanName) |
void |
setBeanFactory(BeanFactory beanFactory) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
postProcessBeforeInitialization
public final void setBeanFactory(BeanFactory beanFactory) throws BeansException
setBeanFactory
in interface BeanFactoryAware
BeansException
protected ConfigurableListableBeanFactory getBeanFactory()
public Object postProcessAfterInitialization(Object bean, String beanName) throws BeansException
postProcessAfterInitialization
in interface BeanPostProcessor
BeansException
Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.