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

java.lang.Object
  extended by com.gemstone.gemfire.cache.AttributesFactory<K,V>
      extended by org.springframework.data.gemfire.SubRegionFactoryBean<K,V>
All Implemented Interfaces:
FactoryBean<com.gemstone.gemfire.cache.Region<K,V>>, InitializingBean

public class SubRegionFactoryBean<K,V>
extends com.gemstone.gemfire.cache.AttributesFactory<K,V>
implements FactoryBean<com.gemstone.gemfire.cache.Region<K,V>>, InitializingBean


Field Summary
protected  org.apache.commons.logging.Log log
           
 
Fields inherited from class com.gemstone.gemfire.cache.AttributesFactory
DEFAULT_DISK_SYNCHRONOUS
 
Constructor Summary
SubRegionFactoryBean()
           
 
Method Summary
 void afterPropertiesSet()
           
 com.gemstone.gemfire.cache.Region<K,V> getObject()
           
 Class<?> getObjectType()
           
 boolean isSingleton()
           
 void setLookupOnly(boolean lookupOnly)
          Set to true if the subregion should already exist, e.g., specified by <lookup-region>
 void setName(String name)
          Set the bean name - the same as the subregion full path
 void setParent(com.gemstone.gemfire.cache.Region<?,?> parent)
          Set the parent Region
 void setRegionName(String regionName)
          Set the simple name of the region
 
Methods inherited from class com.gemstone.gemfire.cache.AttributesFactory
addCacheListener, create, createRegionAttributes, initCacheListeners, setBucketRegion, setCacheListener, setCacheLoader, setCacheWriter, setCloningEnabled, setConcurrencyLevel, setCustomEntryIdleTimeout, setCustomEntryTimeToLive, setDataPolicy, setDiskDirs, setDiskDirsAndSizes, setDiskStoreName, setDiskSynchronous, setDiskWriteAttributes, setEarlyAck, setEnableAsyncConflation, setEnableBridgeConflation, setEnableConflation, setEnableGateway, setEnableSubscriptionConflation, setEnableWAN, setEntryIdleTimeout, setEntryTimeToLive, setEvictionAttributes, setGatewayHubId, setIgnoreJTA, setIndexMaintenanceSynchronous, setInitialCapacity, setKeyConstraint, setLoadFactor, setLockGrantor, setMembershipAttributes, setMirrorType, setMulticastEnabled, setPartitionAttributes, setPersistBackup, setPoolName, setPublisher, setRegionIdleTimeout, setRegionTimeToLive, setScope, setStatisticsEnabled, setSubscriptionAttributes, setValueConstraint, validateAttributes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected final org.apache.commons.logging.Log log
Constructor Detail

SubRegionFactoryBean

public SubRegionFactoryBean()
Method Detail

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface InitializingBean
Throws:
Exception

getObject

public com.gemstone.gemfire.cache.Region<K,V> getObject()
                                                 throws Exception
Specified by:
getObject in interface FactoryBean<com.gemstone.gemfire.cache.Region<K,V>>
Throws:
Exception

getObjectType

public Class<?> getObjectType()
Specified by:
getObjectType in interface FactoryBean<com.gemstone.gemfire.cache.Region<K,V>>

isSingleton

public boolean isSingleton()
Specified by:
isSingleton in interface FactoryBean<com.gemstone.gemfire.cache.Region<K,V>>

setName

public void setName(String name)
Set the bean name - the same as the subregion full path

Parameters:
name -

setRegionName

public void setRegionName(String regionName)
Set the simple name of the region

Parameters:
regionName -

setParent

public void setParent(com.gemstone.gemfire.cache.Region<?,?> parent)
Set the parent Region

Parameters:
parent -

setLookupOnly

public void setLookupOnly(boolean lookupOnly)
Set to true if the subregion should already exist, e.g., specified by <lookup-region>

Parameters:
lookupOnly -