public abstract class DeclarableSupport extends Object implements com.gemstone.gemfire.cache.CacheCallback, com.gemstone.gemfire.cache.Declarable
RegionFactoryBean
which gives access to the full Spring container capabilities and does not enforce the Declarable interface
to be implemented.BeanFactory,
BeanFactoryReference,
CacheCallback,
Declarable| Constructor and Description |
|---|
DeclarableSupport() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected BeanFactory |
getBeanFactory()
Gets a reference to the configured Spring BeanFactory.
|
void |
init(Properties parameters)
This Declarable implementation uses the init method as a lifecycle hook to initialize the bean factory locator.
|
protected void |
initInstance(Properties props)
Initialize this Declarable object with the given Properties.
|
void |
setFactoryKey(String key)
Sets the key under which the enclosing BeanFactory can be found.
|
protected BeanFactory getBeanFactory()
BeanFactorypublic void setFactoryKey(String key)
key - a String specifying the key used to lookup the "enclosing" BeanFactory in the presence
of multiple BeanFactories.GemfireBeanFactoryLocatorpublic final void init(Properties parameters)
init in interface com.gemstone.gemfire.cache.DeclarableGemfireBeanFactoryLocator,
setFactoryKey(String)protected void initInstance(Properties props)
props - the Properties (parameters) used to initialize this Declarable.Declarable.init(java.util.Properties),
Properties,
init(Properties)public void close()
close in interface com.gemstone.gemfire.cache.CacheCallback