Class GatewayReceiverFactoryBean
java.lang.Object
org.springframework.data.gemfire.support.AbstractFactoryBeanSupport<T>
org.springframework.data.gemfire.wan.AbstractWANComponentFactoryBean<org.apache.geode.cache.wan.GatewayReceiver>
org.springframework.data.gemfire.wan.GatewayReceiverFactoryBean
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.beans.factory.BeanClassLoaderAware
,org.springframework.beans.factory.BeanFactoryAware
,org.springframework.beans.factory.BeanNameAware
,org.springframework.beans.factory.DisposableBean
,org.springframework.beans.factory.FactoryBean<org.apache.geode.cache.wan.GatewayReceiver>
,org.springframework.beans.factory.InitializingBean
public class GatewayReceiverFactoryBean
extends AbstractWANComponentFactoryBean<org.apache.geode.cache.wan.GatewayReceiver>
Spring
FactoryBean
used to construct, configure and initialize a GatewayReceiver
.- Since:
- 1.2.2
- See Also:
-
Cache
GatewayReceiver
GatewayReceiverFactory
GatewayTransportFilter
FactoryBean
SmartLifecycle
GatewayReceiverConfigurer
AbstractWANComponentFactoryBean
-
Field Summary
Fields inherited from class org.springframework.data.gemfire.wan.AbstractWANComponentFactoryBean
cache, factory, logger
Fields inherited from class org.springframework.data.gemfire.support.AbstractFactoryBeanSupport
DEFAULT_SINGLETON
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
-
Constructor Summary
ConstructorDescriptionGatewayReceiverFactoryBean
(org.apache.geode.cache.Cache cache) Constructs an instance of theGatewayReceiverFactoryBean
class initialized with a reference to the GemFireCache
used to configure and initialize a GemFireGatewayReceiver
. -
Method Summary
Modifier and TypeMethodDescriptionprotected int
defaultPort
(Integer port, int defaultPort) protected void
doInit()
org.apache.geode.cache.wan.GatewayReceiver
Class<?>
Collection<? extends org.apache.geode.cache.wan.GatewayTransportFilter>
void
setBindAddress
(String bindAddress) void
setEndPort
(Integer endPort) void
setGatewayReceiver
(org.apache.geode.cache.wan.GatewayReceiver gatewayReceiver) void
setGatewayReceiverConfigurers
(List<GatewayReceiverConfigurer> gatewayReceiverConfigurers) void
setHostnameForSenders
(String hostnameForSenders) void
setManualStart
(Boolean manualStart) void
setMaximumTimeBetweenPings
(Integer maximumTimeBetweenPings) void
setSocketBufferSize
(Integer socketBufferSize) void
setStartPort
(Integer startPort) void
setTransportFilters
(List<org.apache.geode.cache.wan.GatewayTransportFilter> transportFilters) Methods inherited from class org.springframework.data.gemfire.wan.AbstractWANComponentFactoryBean
afterPropertiesSet, destroy, getCache, getName, setBeanName, setCache, setFactory, setName
Methods inherited from class org.springframework.data.gemfire.support.AbstractFactoryBeanSupport
getBeanClassLoader, getBeanFactory, getBeanName, getLogger, getOptionalLogger, isDebugLoggingEnabled, isErrorLoggingEnabled, isInfoLoggingEnabled, isSingleton, isWarnLoggingEnabled, logDebug, logDebug, logError, logError, logInfo, logInfo, logWarning, logWarning, newLogger, setBeanClassLoader, setBeanFactory
-
Constructor Details
-
GatewayReceiverFactoryBean
public GatewayReceiverFactoryBean(org.apache.geode.cache.Cache cache) Constructs an instance of theGatewayReceiverFactoryBean
class initialized with a reference to the GemFireCache
used to configure and initialize a GemFireGatewayReceiver
.- Parameters:
cache
- reference to the GemFireCache
used to create theGatewayReceiver
.- See Also:
-
Cache
-
-
Method Details
-
doInit
protected void doInit()- Specified by:
doInit
in classAbstractWANComponentFactoryBean<org.apache.geode.cache.wan.GatewayReceiver>
-
getObject
- Throws:
Exception
-
getObjectType
-
defaultPort
-
setGatewayReceiver
public void setGatewayReceiver(org.apache.geode.cache.wan.GatewayReceiver gatewayReceiver) -
setGatewayReceiverConfigurers
public void setGatewayReceiverConfigurers(List<GatewayReceiverConfigurer> gatewayReceiverConfigurers) -
setBindAddress
-
setHostnameForSenders
-
setStartPort
-
setEndPort
-
setManualStart
-
setMaximumTimeBetweenPings
-
setSocketBufferSize
-
setTransportFilters
public void setTransportFilters(List<org.apache.geode.cache.wan.GatewayTransportFilter> transportFilters) -
getTransportFilters
public Collection<? extends org.apache.geode.cache.wan.GatewayTransportFilter> getTransportFilters()
-