public abstract class DeclarableSupport extends Object implements CacheCallback, Declarable
RegionFactoryBean
which gives access to the full
container capabilities and does not enforce the Declarable
interface
to be implemented.Constructor and Description |
---|
DeclarableSupport() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected BeanFactory |
getBeanFactory() |
void |
init(Properties props)
This implementation uses this method as a lifecycle hook to initialize
the bean factory locator.
|
protected void |
initInstance(Properties props)
Initialize the current instance based on the given properties.
|
void |
setFactoryKey(String key)
Sets the key under which the enclosing BeanFactory can be found.
|
public final void init(Properties props)
init
in interface Declarable
setFactoryKey(String)
protected void initInstance(Properties props)
props
- the Properties used to initialize this Declarable.Declarable.init(java.util.Properties)
,
Properties
protected BeanFactory getBeanFactory()
public void close()
close
in interface CacheCallback
public void setFactoryKey(String key)
key
- a String specifying the key used to lookup the "enclosing" BeanFactory in the presenence of
multiple BeanFactories.GemfireBeanFactoryLocator