public class GatewayReceiverFactoryBean extends AbstractWANComponentFactoryBean<com.gemstone.gemfire.cache.wan.GatewayReceiver> implements SmartLifecycle
GatewayReceiver
.SmartLifecycle
,
AbstractWANComponentFactoryBean
,
Cache
,
GatewayReceiver
,
GatewayReceiverFactory
cache, factory, log, VALID_ORDER_POLICIES
Constructor and Description |
---|
GatewayReceiverFactoryBean(Cache cache)
Constructs an instance of the GatewayReceiverFactoryBean class for configuring an initializing
a GemFire Gateway Receiver.
|
Modifier and Type | Method and Description |
---|---|
protected void |
doInit() |
com.gemstone.gemfire.cache.wan.GatewayReceiver |
getObject() |
Class<?> |
getObjectType() |
int |
getPhase() |
boolean |
isAutoStartup() |
boolean |
isRunning() |
void |
setBindAddress(String bindAddress) |
void |
setEndPort(Integer endPort) |
void |
setGatewayReceiver(com.gemstone.gemfire.cache.wan.GatewayReceiver gatewayReceiver) |
void |
setHostnameForSenders(String hostnameForSenders) |
void |
setManualStart(Boolean manualStart) |
void |
setMaximumTimeBetweenPings(Integer maximumTimeBetweenPings) |
void |
setSocketBufferSize(Integer socketBufferSize) |
void |
setStartPort(Integer startPort) |
void |
setTransportFilters(List<com.gemstone.gemfire.cache.wan.GatewayTransportFilter> transportFilters) |
void |
start() |
void |
stop() |
void |
stop(Runnable callback) |
afterPropertiesSet, destroy, getName, isSingleton, setBeanName, setFactory, setName
public GatewayReceiverFactoryBean(Cache cache)
cache
- a reference to the GemFire Cache used to setup the Gateway Receiver.public com.gemstone.gemfire.cache.wan.GatewayReceiver getObject() throws Exception
getObject
in interface FactoryBean<com.gemstone.gemfire.cache.wan.GatewayReceiver>
getObject
in class AbstractWANComponentFactoryBean<com.gemstone.gemfire.cache.wan.GatewayReceiver>
Exception
public Class<?> getObjectType()
getObjectType
in interface FactoryBean<com.gemstone.gemfire.cache.wan.GatewayReceiver>
getObjectType
in class AbstractWANComponentFactoryBean<com.gemstone.gemfire.cache.wan.GatewayReceiver>
protected void doInit() throws Exception
doInit
in class AbstractWANComponentFactoryBean<com.gemstone.gemfire.cache.wan.GatewayReceiver>
Exception
public void setGatewayReceiver(com.gemstone.gemfire.cache.wan.GatewayReceiver gatewayReceiver)
public void setBindAddress(String bindAddress)
public void setHostnameForSenders(String hostnameForSenders)
public void setStartPort(Integer startPort)
public void setEndPort(Integer endPort)
public void setManualStart(Boolean manualStart)
public void setMaximumTimeBetweenPings(Integer maximumTimeBetweenPings)
public void setSocketBufferSize(Integer socketBufferSize)
public void setTransportFilters(List<com.gemstone.gemfire.cache.wan.GatewayTransportFilter> transportFilters)
public boolean isAutoStartup()
isAutoStartup
in interface SmartLifecycle
public void stop(Runnable callback)
stop
in interface SmartLifecycle