Class GatewayReceiverFactoryBean
java.lang.Object
org.springframework.data.gemfire.support.AbstractFactoryBeanSupport<T>
org.springframework.data.gemfire.wan.AbstractWANComponentFactoryBean<GatewayReceiver>
org.springframework.data.gemfire.wan.GatewayReceiverFactoryBean
- All Implemented Interfaces:
Aware
,BeanClassLoaderAware
,BeanFactoryAware
,BeanNameAware
,DisposableBean
,FactoryBean<GatewayReceiver>
,InitializingBean
Spring
FactoryBean
used to construct, configure and initialize a GatewayReceiver
.- Since:
- 1.2.2
- Author:
- David Turanski, John Blum, Udo Kohlmeyer
- See Also:
-
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
(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()
Class<?>
Collection<? extends GatewayTransportFilter>
void
setBindAddress
(String bindAddress) void
setEndPort
(Integer endPort) void
setGatewayReceiver
(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<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, getLog, getOptionalLog, isDebugLoggingEnabled, isErrorLoggingEnabled, isInfoLoggingEnabled, isSingleton, isWarnLoggingEnabled, logDebug, logDebug, logError, logError, logInfo, logInfo, logWarning, logWarning, newLog, setBeanClassLoader, setBeanFactory
-
Constructor Details
-
GatewayReceiverFactoryBean
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:
-
-
Method Details
-
doInit
protected void doInit()- Specified by:
doInit
in classAbstractWANComponentFactoryBean<GatewayReceiver>
-
getObject
- Throws:
Exception
-
getObjectType
-
defaultPort
-
setGatewayReceiver
-
setGatewayReceiverConfigurers
public void setGatewayReceiverConfigurers(List<GatewayReceiverConfigurer> gatewayReceiverConfigurers) -
setBindAddress
-
setHostnameForSenders
-
setStartPort
-
setEndPort
-
setManualStart
-
setMaximumTimeBetweenPings
-
setSocketBufferSize
-
setTransportFilters
-
getTransportFilters
-