org.springframework.data.gemfire
Class LocalRegionFactoryBean<K,V>

java.lang.Object
  extended by org.springframework.data.gemfire.RegionLookupFactoryBean<K,V>
      extended by org.springframework.data.gemfire.RegionFactoryBean<K,V>
          extended by org.springframework.data.gemfire.LocalRegionFactoryBean<K,V>
All Implemented Interfaces:
Aware, BeanNameAware, DisposableBean, FactoryBean<com.gemstone.gemfire.cache.Region<K,V>>, InitializingBean

public class LocalRegionFactoryBean<K,V>
extends RegionFactoryBean<K,V>


Field Summary
 
Fields inherited from class org.springframework.data.gemfire.RegionFactoryBean
log
 
Constructor Summary
LocalRegionFactoryBean()
           
 
Method Summary
 void afterPropertiesSet()
           
protected  void resolveDataPolicy(com.gemstone.gemfire.cache.RegionFactory<K,V> regionFactory, Boolean persistent, String dataPolicy)
          This validates the configured data policy and may override it, taking into account the persistent attribute and constraints for the region type
 void setPersistent(boolean persistent)
           
 void setScope(com.gemstone.gemfire.cache.Scope scope)
          Sets the region scope.
 
Methods inherited from class org.springframework.data.gemfire.RegionFactoryBean
destroy, isNotPersistent, isPersistent, lookupFallback, postProcess, postProcess, setAttributes, setCacheListeners, setCacheLoader, setCacheWriter, setClose, setDataPolicy, setDestroy, setDiskStoreName, setEnableGateway, setHubId, setSnapshot
 
Methods inherited from class org.springframework.data.gemfire.RegionLookupFactoryBean
getObject, getObjectType, getRegion, isSingleton, setBeanName, setCache, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalRegionFactoryBean

public LocalRegionFactoryBean()
Method Detail

setScope

public void setScope(com.gemstone.gemfire.cache.Scope scope)
Description copied from class: RegionFactoryBean
Sets the region scope. Used only when a new region is created. Overrides the settings specified through RegionFactoryBean.setAttributes(RegionAttributes).

Overrides:
setScope in class RegionFactoryBean<K,V>
Parameters:
scope - the region scope
See Also:
Scope

setPersistent

public void setPersistent(boolean persistent)
Overrides:
setPersistent in class RegionFactoryBean<K,V>

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface InitializingBean
Overrides:
afterPropertiesSet in class RegionFactoryBean<K,V>
Throws:
Exception

resolveDataPolicy

protected void resolveDataPolicy(com.gemstone.gemfire.cache.RegionFactory<K,V> regionFactory,
                                 Boolean persistent,
                                 String dataPolicy)
Description copied from class: RegionFactoryBean
This validates the configured data policy and may override it, taking into account the persistent attribute and constraints for the region type

Overrides:
resolveDataPolicy in class RegionFactoryBean<K,V>
dataPolicy - requested data policy