org.springframework.data.gemfire.wan
Class AbstractWANComponentFactoryBean<T>
java.lang.Object
org.springframework.data.gemfire.wan.AbstractWANComponentFactoryBean<T>
- All Implemented Interfaces:
- Aware, BeanNameAware, DisposableBean, FactoryBean<T>, InitializingBean
- Direct Known Subclasses:
- GatewayHubFactoryBean
public abstract class AbstractWANComponentFactoryBean<T>
- extends Object
- implements FactoryBean<T>, InitializingBean, BeanNameAware, DisposableBean
Base class for Gemfire WAN Gateway component factory beans
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected org.apache.commons.logging.Log log
name
protected String name
cache
protected final com.gemstone.gemfire.cache.Cache cache
factory
protected Object factory
AbstractWANComponentFactoryBean
protected AbstractWANComponentFactoryBean(com.gemstone.gemfire.cache.Cache cache)
destroy
public void destroy()
throws Exception
- Specified by:
destroy
in interface DisposableBean
- Throws:
Exception
setBeanName
public final void setBeanName(String name)
- Specified by:
setBeanName
in interface BeanNameAware
afterPropertiesSet
public final void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet
in interface InitializingBean
- Throws:
Exception
doInit
protected abstract void doInit()
getObject
public abstract T getObject()
throws Exception
- Specified by:
getObject
in interface FactoryBean<T>
- Throws:
Exception
getObjectType
public abstract Class<?> getObjectType()
- Specified by:
getObjectType
in interface FactoryBean<T>
isSingleton
public final boolean isSingleton()
- Specified by:
isSingleton
in interface FactoryBean<T>
setFactory
public void setFactory(Object factory)