org.springframework.data.gemfire
Class FixedPartitionAttributesFactoryBean

java.lang.Object
  extended by org.springframework.data.gemfire.FixedPartitionAttributesFactoryBean
All Implemented Interfaces:
FactoryBean<com.gemstone.gemfire.cache.FixedPartitionAttributes>, InitializingBean

public class FixedPartitionAttributesFactoryBean
extends Object
implements FactoryBean<com.gemstone.gemfire.cache.FixedPartitionAttributes>, InitializingBean


Constructor Summary
FixedPartitionAttributesFactoryBean()
           
 
Method Summary
 void afterPropertiesSet()
           
 com.gemstone.gemfire.cache.FixedPartitionAttributes getObject()
           
 Class<?> getObjectType()
           
 boolean isSingleton()
           
 void setNumBuckets(Integer numBuckets)
           
 void setPartitionName(String partitionName)
           
 void setPrimary(boolean primary)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FixedPartitionAttributesFactoryBean

public FixedPartitionAttributesFactoryBean()
Method Detail

setPrimary

public void setPrimary(boolean primary)
Parameters:
primary -

setPartitionName

public void setPartitionName(String partitionName)
Parameters:
partitionName - the partitionName to set

setNumBuckets

public void setNumBuckets(Integer numBuckets)
Parameters:
numBuckets - the numBuckets to set

getObject

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

getObjectType

public Class<?> getObjectType()
Specified by:
getObjectType in interface FactoryBean<com.gemstone.gemfire.cache.FixedPartitionAttributes>

isSingleton

public boolean isSingleton()
Specified by:
isSingleton in interface FactoryBean<com.gemstone.gemfire.cache.FixedPartitionAttributes>

afterPropertiesSet

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