public abstract class AbstractWANComponentFactoryBean<T> extends Object implements BeanNameAware, FactoryBean<T>, InitializingBean, DisposableBean
BeanNameAware
,
DisposableBean
,
FactoryBean
,
InitializingBean
Modifier and Type | Field and Description |
---|---|
protected com.gemstone.gemfire.cache.Cache |
cache |
protected Object |
factory |
protected org.apache.commons.logging.Log |
log |
protected static List<String> |
VALID_ORDER_POLICIES |
Modifier | Constructor and Description |
---|---|
protected |
AbstractWANComponentFactoryBean(com.gemstone.gemfire.cache.Cache cache) |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
void |
destroy() |
protected abstract void |
doInit() |
String |
getName() |
abstract T |
getObject() |
abstract Class<?> |
getObjectType() |
boolean |
isSingleton() |
void |
setBeanName(String beanName) |
void |
setFactory(Object factory) |
void |
setName(String name) |
protected org.apache.commons.logging.Log log
protected final com.gemstone.gemfire.cache.Cache cache
protected Object factory
protected AbstractWANComponentFactoryBean(com.gemstone.gemfire.cache.Cache cache)
public final void setBeanName(String beanName)
setBeanName
in interface BeanNameAware
public void setFactory(Object factory)
public void setName(String name)
public String getName()
public abstract T getObject() throws Exception
getObject
in interface FactoryBean<T>
Exception
public abstract Class<?> getObjectType()
getObjectType
in interface FactoryBean<T>
public final boolean isSingleton()
isSingleton
in interface FactoryBean<T>
public final void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface InitializingBean
Exception
public void destroy() throws Exception
destroy
in interface DisposableBean
Exception