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>
Type Parameters:
K - Region Key Type
V - Region Value Type
All Implemented Interfaces:
FactoryBean<com.gemstone.gemfire.cache.Region<K,V>>, InitializingBean

Deprecated. as Spring Data GemFire 1.4.0. Use Region type specific FactoryBeans (e.g. ReplicatedRegionFactoryBean) instead.

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

FactoryBean for creating a Gemfire sub-Regions.


Field Summary
protected  org.apache.commons.logging.Log log
          Deprecated.  
 
Fields inherited from class com.gemstone.gemfire.cache.AttributesFactory
DEFAULT_DISK_SYNCHRONOUS
 
Constructor Summary
SubRegionFactoryBean()
          Deprecated.  
 
Method Summary
 void afterPropertiesSet()
          Deprecated.  
 com.gemstone.gemfire.cache.Region<K,V> getObject()
          Deprecated.  
 Class<?> getObjectType()
          Deprecated.  
 boolean isSingleton()
          Deprecated.  
 void setAsyncEventQueues(Object[] asyncEventQueues)
          Deprecated.  
 void setCacheListeners(com.gemstone.gemfire.cache.CacheListener<K,V>[] cacheListeners)
          Deprecated. Sets the cache listeners used for the region used by this factory.
 void setGatewaySenders(Object[] gatewaySenders)
          Deprecated.  
 void setLookupOnly(boolean lookupOnly)
          Deprecated. Set to true if the subregion should already exist, e.g., specified by <lookup-region>
 void setName(String name)
          Deprecated. Set the bean name - the same as the Subregion full path.
 void setParent(com.gemstone.gemfire.cache.Region<?,?> parent)
          Deprecated. Set the parent Region.
 void setRegionName(String regionName)
          Deprecated. Set the simple name of this Subregion.
 
Methods inherited from class com.gemstone.gemfire.cache.AttributesFactory
addAsyncEventQueueId, addCacheListener, addGatewaySenderId, create, createRegionAttributes, initCacheListeners, setBucketRegion, setCacheListener, setCacheLoader, setCacheWriter, setCloningEnabled, setConcurrencyChecksEnabled, 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
Deprecated. 
Constructor Detail

SubRegionFactoryBean

public SubRegionFactoryBean()
Deprecated. 
Method Detail

getObject

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

getObjectType

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

isSingleton

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

afterPropertiesSet

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

setAsyncEventQueues

public void setAsyncEventQueues(Object[] asyncEventQueues)
Deprecated. 
Parameters:
asyncEventQueues - defined as Object for backward compatibility with Gemfire 6.

setCacheListeners

public void setCacheListeners(com.gemstone.gemfire.cache.CacheListener<K,V>[] cacheListeners)
Deprecated. 
Sets the cache listeners used for the region used by this factory. Used only when a new region is created. Overrides the settings specified through setAttributes(com.gemstone.gemfire.cache.RegionAttributes).

Parameters:
cacheListeners - the cacheListeners to set on a newly created region

setGatewaySenders

public void setGatewaySenders(Object[] gatewaySenders)
Deprecated. 

setLookupOnly

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

Parameters:
lookupOnly - a boolean value indicating whether this Subregion should be looked up instead of created.

setName

public void setName(String name)
Deprecated. 
Set the bean name - the same as the Subregion full path.

Parameters:
name - the name of this Subregion bean in the Spring context.

setRegionName

public void setRegionName(String regionName)
Deprecated. 
Set the simple name of this Subregion.

Parameters:
regionName - the simple name of this Subregion.

setParent

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

Parameters:
parent - a reference to the parent Region.