org.springframework.data.gemfire
Class ClientRegionFactoryBean<K,V>
java.lang.Object
org.springframework.data.gemfire.RegionFactoryBean<K,V>
org.springframework.data.gemfire.ClientRegionFactoryBean<K,V>
- All Implemented Interfaces:
- BeanNameAware, DisposableBean, FactoryBean<Region<K,V>>, InitializingBean
public class ClientRegionFactoryBean<K,V>
- extends RegionFactoryBean<K,V>
Client extension for Gemfire regions.
- Author:
- Costin Leau
Method Summary |
void |
destroy()
|
protected void |
postProcess(Region<K,V> region)
Post-process the region object for this factory bean during the initialization process. |
void |
setInterests(Interest<K>[] interests)
Set the interests for this client region. |
Methods inherited from class org.springframework.data.gemfire.RegionFactoryBean |
afterPropertiesSet, getObject, getObjectType, isSingleton, setAttributes, setBeanName, setCache, setCacheListeners, setCacheLoader, setCacheWriter, setDataPolicy, setDestroy, setName, setScope, setSnapshot |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientRegionFactoryBean
public ClientRegionFactoryBean()
postProcess
protected void postProcess(Region<K,V> region)
- Description copied from class:
RegionFactoryBean
- Post-process the region object for this factory bean during the initialization process.
The object is already initialized and configured by the factory bean before this method
is invoked.
- Overrides:
postProcess
in class RegionFactoryBean<K,V>
destroy
public void destroy()
throws Exception
- Specified by:
destroy
in interface DisposableBean
- Overrides:
destroy
in class RegionFactoryBean<K,V>
- Throws:
Exception
setInterests
public void setInterests(Interest<K>[] interests)
- Set the interests for this client region. Both key and regex interest are supported.
- Parameters:
interests
- the interests to set
Copyright © 2010 SpringSource, a division of VMware. All Rights Reserved.