public class GemfireDataSourcePostProcessor extends Object implements BeanFactoryPostProcessor
BeanFactoryPostProcessor
used to register a Client Region Proxy bean for each Region
accessible to a GemFire DataSource. If the Region is already defined, the bean definition will not be overridden.BeanFactoryPostProcessor
,
ConfigurableListableBeanFactory
,
GemfireOnServersFunctionTemplate
,
ListRegionsOnServerFunction
,
Region
,
ClientCache
,
ClientRegionFactory
,
Function
,
GetRegionsFunction
Modifier and Type | Field and Description |
---|---|
protected org.apache.commons.logging.Log |
logger |
Constructor and Description |
---|
GemfireDataSourcePostProcessor(org.apache.geode.cache.client.ClientCache clientCache)
Constructs an instance of the GemfireDataSourcePostProcessor BeanFactoryPostProcessor class initialized
with the specified GemFire ClientCache instance for creating client PROXY Regions for all data Regions
configured in the GemFire cluster.
|
Modifier and Type | Method and Description |
---|---|
void |
postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory) |
public GemfireDataSourcePostProcessor(org.apache.geode.cache.client.ClientCache clientCache)
clientCache
- the GemFire ClientCache instance.ClientCache
public void postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory) throws BeansException
postProcessBeanFactory
in interface BeanFactoryPostProcessor
BeansException
Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.