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,
ConfigurableListableBeanFactory| Constructor and Description |
|---|
AutoRegionLookupBeanPostProcessor() |
| Modifier and Type | Method and Description |
|---|---|
protected ConfigurableListableBeanFactory |
getBeanFactory()
Returns a reference to the containing Spring
BeanFactory. |
Object |
postProcessAfterInitialization(Object bean,
String beanName) |
void |
setBeanFactory(BeanFactory beanFactory)
Sets a reference to the configured Spring
BeanFactory. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpostProcessBeforeInitializationpublic final void setBeanFactory(BeanFactory beanFactory) throws BeansException
BeanFactory.setBeanFactory in interface BeanFactoryAwarebeanFactory - configured Spring BeanFactory.IllegalArgumentException - if the given BeanFactory is not an instance of
ConfigurableListableBeanFactory.BeansExceptionBeanFactoryAware,
BeanFactoryprotected ConfigurableListableBeanFactory getBeanFactory()
BeanFactory.BeanFactory.IllegalStateException - if the BeanFactory was not configured.BeanFactorypublic Object postProcessAfterInitialization(Object bean, String beanName) throws BeansException
postProcessAfterInitialization in interface BeanPostProcessorBeansExceptionCopyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.