public abstract class AbstractWANComponentFactoryBean<T> extends AbstractFactoryBeanSupport<T> implements DisposableBean, InitializingBean
Cache
,
GemFireCache
,
DisposableBean
,
InitializingBean
,
AbstractFactoryBeanSupport
Modifier and Type | Field and Description |
---|---|
protected org.apache.geode.cache.Cache |
cache |
protected Object |
factory |
protected org.slf4j.Logger |
logger |
DEFAULT_SINGLETON
OBJECT_TYPE_ATTRIBUTE
Modifier | Constructor and Description |
---|---|
protected |
AbstractWANComponentFactoryBean() |
protected |
AbstractWANComponentFactoryBean(org.apache.geode.cache.GemFireCache cache) |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
void |
destroy() |
protected abstract void |
doInit() |
org.apache.geode.cache.Cache |
getCache() |
String |
getName() |
void |
setBeanName(String beanName)
Sets the
bean name assigned to this FactoryBean as declared in the Spring container. |
void |
setCache(org.apache.geode.cache.Cache cache) |
void |
setFactory(Object factory) |
void |
setName(String name) |
getBeanClassLoader, getBeanFactory, getBeanName, getLogger, getOptionalLogger, isDebugLoggingEnabled, isErrorLoggingEnabled, isInfoLoggingEnabled, isSingleton, isWarnLoggingEnabled, logDebug, logDebug, logError, logError, logInfo, logInfo, logWarning, logWarning, newLogger, setBeanClassLoader, setBeanFactory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getObject, getObjectType
@Autowired protected org.apache.geode.cache.Cache cache
protected final org.slf4j.Logger logger
protected Object factory
protected AbstractWANComponentFactoryBean()
protected AbstractWANComponentFactoryBean(org.apache.geode.cache.GemFireCache cache)
public void setBeanName(String beanName)
AbstractFactoryBeanSupport
bean name
assigned to this FactoryBean
as declared in the Spring container.setBeanName
in interface BeanNameAware
setBeanName
in class AbstractFactoryBeanSupport<T>
beanName
- bean name
assigned to this FactoryBean
as declared in the Spring container.BeanNameAware.setBeanName(String)
,
String
public org.apache.geode.cache.Cache getCache()
public void setCache(org.apache.geode.cache.Cache cache)
public void setFactory(Object factory)
public void setName(String name)
public String getName()
public final void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface InitializingBean
Exception
public void destroy()
destroy
in interface DisposableBean
Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.