public abstract class ConfigurableRegionFactoryBean<K,V> extends ResolvableRegionFactoryBean<K,V>
ConfigurableRegionFactoryBean
is an abstract base class encapsulating functionality common
to all configurable Region
FactoryBeans
.
A configurable Region
FactoryBean
includes all FactoryBeans
that create a Region
and allow additional configuration to be applied via a RegionConfigurer
.Region
,
FactoryBean
,
ResolvableRegionFactoryBean
,
RegionConfigurer
DEFAULT_SINGLETON
Constructor and Description |
---|
ConfigurableRegionFactoryBean() |
Modifier and Type | Method and Description |
---|---|
protected void |
applyRegionConfigurers(String regionName)
Null-safe operation to apply the composite
RegionConfigurers
to this ConfigurableRegionFactoryBean . |
protected void |
applyRegionConfigurers(String regionName,
Iterable<RegionConfigurer> regionConfigurers)
Null-safe operation to apply the given
Iterable of RegionConfigurers
to this ConfigurableRegionFactoryBean . |
protected void |
applyRegionConfigurers(String regionName,
RegionConfigurer... regionConfigurers)
Null-safe operation to apply the given array of
RegionConfigurers
to this ConfigurableRegionFactoryBean . |
protected RegionConfigurer |
getCompositeRegionConfigurer()
Returns a reference to the Composite
RegionConfigurer used to apply additional configuration
to this ClientRegionFactoryBean on Spring container initialization. |
void |
setRegionConfigurers(List<RegionConfigurer> regionConfigurers)
Null-safe operation to set an
Iterable of RegionConfigurers used to apply
additional configuration to this ClientRegionFactoryBean when using Annotation-based configuration. |
void |
setRegionConfigurers(RegionConfigurer... regionConfigurers)
Null-safe operation to set an array of
RegionConfigurers used to apply
additional configuration to this ClientRegionFactoryBean when using Annotation-based configuration. |
afterPropertiesSet, createRegion, getCache, getLookupEnabled, getObject, getObjectType, getParent, getRegion, isLookupEnabled, loadSnapshot, postProcess, resolveRegionName, setCache, setLookupEnabled, setName, setParent, setRegion, setRegionName, setSnapshot
getBeanClassLoader, getBeanFactory, getBeanName, getLog, isSingleton, logDebug, logDebug, logError, logError, logInfo, logInfo, logWarning, logWarning, newLog, setBeanClassLoader, setBeanFactory, setBeanName
protected RegionConfigurer getCompositeRegionConfigurer()
RegionConfigurer
used to apply additional configuration
to this ClientRegionFactoryBean
on Spring container initialization.RegionConfigurer
.RegionConfigurer
public void setRegionConfigurers(RegionConfigurer... regionConfigurers)
RegionConfigurers
used to apply
additional configuration to this ClientRegionFactoryBean
when using Annotation-based configuration.regionConfigurers
- array of RegionConfigurers
used to apply
additional configuration to this ClientRegionFactoryBean
.RegionConfigurer
,
setRegionConfigurers(List)
public void setRegionConfigurers(List<RegionConfigurer> regionConfigurers)
Iterable
of RegionConfigurers
used to apply
additional configuration to this ClientRegionFactoryBean
when using Annotation-based configuration.regionConfigurers
- Iterable
of RegionConfigurers
used to apply
additional configuration to this ClientRegionFactoryBean
.RegionConfigurer
protected void applyRegionConfigurers(String regionName)
RegionConfigurers
to this ConfigurableRegionFactoryBean
.regionName
- String
containing the name of the Region
.
to this ConfigurableRegionFactoryBean
.RegionConfigurer
,
applyRegionConfigurers(String, Iterable)
,
getCompositeRegionConfigurer()
protected void applyRegionConfigurers(String regionName, RegionConfigurer... regionConfigurers)
RegionConfigurers
to this ConfigurableRegionFactoryBean
.regionName
- String
containing the name of the Region
.regionConfigurers
- array of RegionConfigurers
applied
to this ConfigurableRegionFactoryBean
.RegionConfigurer
,
applyRegionConfigurers(String, Iterable)
protected void applyRegionConfigurers(String regionName, Iterable<RegionConfigurer> regionConfigurers)
Iterable
of RegionConfigurers
to this ConfigurableRegionFactoryBean
.regionName
- String
containing the name of the Region
.regionConfigurers
- Iterable
of RegionConfigurers
applied
to this ConfigurableRegionFactoryBean
.RegionConfigurer
,
applyRegionConfigurers(String, RegionConfigurer...)
Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.