Class AbstractWANComponentFactoryBean<T>
java.lang.Object
org.springframework.data.gemfire.support.AbstractFactoryBeanSupport<T>
org.springframework.data.gemfire.wan.AbstractWANComponentFactoryBean<T>
- All Implemented Interfaces:
Aware
,BeanClassLoaderAware
,BeanFactoryAware
,BeanNameAware
,DisposableBean
,FactoryBean<T>
,InitializingBean
- Direct Known Subclasses:
AsyncEventQueueFactoryBean
,GatewayReceiverFactoryBean
,GatewaySenderFactoryBean
public abstract class AbstractWANComponentFactoryBean<T>
extends AbstractFactoryBeanSupport<T>
implements DisposableBean, InitializingBean
Abstract base class for WAN Gateway objects.
- Author:
- David Turanski, John Blum, Udo Kohlmeyer
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected Cache
protected Object
protected final org.slf4j.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
ModifierConstructorDescriptionprotected
protected
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
void
destroy()
protected abstract void
doInit()
getCache()
getName()
void
setBeanName
(String beanName) Sets thebean name
assigned to thisFactoryBean
as declared in the Spring container.void
void
setFactory
(Object factory) void
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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.beans.factory.FactoryBean
getObject, getObjectType
-
Field Details
-
cache
-
logger
protected final org.slf4j.Logger logger -
factory
-
-
Constructor Details
-
AbstractWANComponentFactoryBean
protected AbstractWANComponentFactoryBean() -
AbstractWANComponentFactoryBean
-
-
Method Details
-
setBeanName
Description copied from class:AbstractFactoryBeanSupport
Sets thebean name
assigned to thisFactoryBean
as declared in the Spring container.- Specified by:
setBeanName
in interfaceBeanNameAware
- Overrides:
setBeanName
in classAbstractFactoryBeanSupport<T>
- Parameters:
beanName
-bean name
assigned to thisFactoryBean
as declared in the Spring container.- See Also:
-
getCache
-
setCache
-
setFactory
-
setName
-
getName
-
afterPropertiesSet
- Specified by:
afterPropertiesSet
in interfaceInitializingBean
- Throws:
Exception
-
doInit
- Throws:
Exception
-
destroy
public void destroy()- Specified by:
destroy
in interfaceDisposableBean
-