org.springframework.data.gemfire
Class ReplicatedRegionFactoryBean<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.ReplicatedRegionFactoryBean<K,V>
All Implemented Interfaces:
Aware, BeanNameAware, DisposableBean, FactoryBean<com.gemstone.gemfire.cache.Region<K,V>>, InitializingBean, Lifecycle, Phased, SmartLifecycle

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


Field Summary
 
Fields inherited from class org.springframework.data.gemfire.RegionFactoryBean
log
 
Constructor Summary
ReplicatedRegionFactoryBean()
           
 
Method Summary
protected  void resolveDataPolicy(com.gemstone.gemfire.cache.RegionFactory<K,V> regionFactory, Boolean persistent, String dataPolicy)
          Validates the configured Data Policy and may override it, taking into account the 'persistent' attribute and constraints for the Region type.
 
Methods inherited from class org.springframework.data.gemfire.RegionFactoryBean
afterPropertiesSet, assertDataPolicyAndPersistentAttributesAreCompatible, destroy, getPhase, isAutoStartup, isNotPersistent, isPersistent, isRunning, lookupFallback, postProcess, postProcess, setAsyncEventQueues, setAttributes, setCacheListeners, setCacheLoader, setCacheWriter, setClose, setDataPolicy, setDestroy, setDiskStoreName, setEnableGateway, setGatewaySenders, setHubId, setPersistent, setScope, setSnapshot, start, stop, stop
 
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

ReplicatedRegionFactoryBean

public ReplicatedRegionFactoryBean()
Method Detail

resolveDataPolicy

protected void resolveDataPolicy(com.gemstone.gemfire.cache.RegionFactory<K,V> regionFactory,
                                 Boolean persistent,
                                 String dataPolicy)
Description copied from class: RegionFactoryBean
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>
Parameters:
regionFactory - the GemFire RegionFactory used to created the Local Region.
persistent - a boolean value indicating whether the Local Region should persist it's data.
dataPolicy - requested Data Policy as set by the user in the Spring GemFire configuration meta-data.
See Also:
DataPolicy, RegionFactory