org.springframework.data.gemfire.wan
Class GatewayHubFactoryBean

java.lang.Object
  extended by org.springframework.data.gemfire.wan.AbstractWANComponentFactoryBean<com.gemstone.gemfire.cache.util.GatewayHub>
      extended by org.springframework.data.gemfire.wan.GatewayHubFactoryBean
All Implemented Interfaces:
Aware, BeanNameAware, DisposableBean, FactoryBean<com.gemstone.gemfire.cache.util.GatewayHub>, InitializingBean

public class GatewayHubFactoryBean
extends AbstractWANComponentFactoryBean<com.gemstone.gemfire.cache.util.GatewayHub>

FactoryBean for creating a GemFire GatewayHub (deprecated in Gemfire 7)


Field Summary
 
Fields inherited from class org.springframework.data.gemfire.wan.AbstractWANComponentFactoryBean
cache, factory, log, name
 
Constructor Summary
GatewayHubFactoryBean(com.gemstone.gemfire.cache.Cache cache)
           
 
Method Summary
protected  void doInit()
           
 com.gemstone.gemfire.cache.util.GatewayHub getObject()
           
 Class<?> getObjectType()
           
 void setBindAddress(String bindAddress)
           
 void setGateways(List<GatewayProxy> gateways)
           
 void setManualStart(Boolean manualStart)
           
 void setMaximumTimeBetweenPings(Integer maximumTimeBetweenPings)
           
 void setPort(Integer port)
           
 void setSocketBufferSize(Integer socketBufferSize)
           
 void setStartupPolicy(String startupPolicy)
           
 
Methods inherited from class org.springframework.data.gemfire.wan.AbstractWANComponentFactoryBean
afterPropertiesSet, destroy, isSingleton, setBeanName, setFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GatewayHubFactoryBean

public GatewayHubFactoryBean(com.gemstone.gemfire.cache.Cache cache)
Parameters:
cache - the Gemfire cache
Method Detail

getObject

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

getObjectType

public Class<?> getObjectType()
Specified by:
getObjectType in interface FactoryBean<com.gemstone.gemfire.cache.util.GatewayHub>
Specified by:
getObjectType in class AbstractWANComponentFactoryBean<com.gemstone.gemfire.cache.util.GatewayHub>

doInit

protected void doInit()
Specified by:
doInit in class AbstractWANComponentFactoryBean<com.gemstone.gemfire.cache.util.GatewayHub>

setPort

public void setPort(Integer port)

setBindAddress

public void setBindAddress(String bindAddress)

setMaximumTimeBetweenPings

public void setMaximumTimeBetweenPings(Integer maximumTimeBetweenPings)

setSocketBufferSize

public void setSocketBufferSize(Integer socketBufferSize)

setStartupPolicy

public void setStartupPolicy(String startupPolicy)

setManualStart

public void setManualStart(Boolean manualStart)

setGateways

public void setGateways(List<GatewayProxy> gateways)