public class RegionFactoryDelegate
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Properties |
gemfireProperties |
protected org.slf4j.Logger |
log |
protected java.util.Properties |
regionProperties |
| Constructor and Description |
|---|
RegionFactoryDelegate(java.util.Properties gemfireProperties,
java.util.Properties regionProperties) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkExistingCache()
When hibernate module is running within servlet container, we should
check if http module is being used and make sure that we use
same cache-xml and log-file properties.
|
com.gemstone.gemfire.cache.Region<java.lang.Object,EntityWrapper> |
createRegion(java.lang.String regionName) |
protected java.lang.String |
getRegionType(java.lang.String regionName)
returns the type of region to create by consulting the properties specified
in hibernate.cfg.xml
|
com.gemstone.gemfire.cache.GemFireCache |
startCache() |
protected final java.util.Properties gemfireProperties
protected final java.util.Properties regionProperties
protected org.slf4j.Logger log
public RegionFactoryDelegate(java.util.Properties gemfireProperties,
java.util.Properties regionProperties)
public com.gemstone.gemfire.cache.GemFireCache startCache()
protected void checkExistingCache()
public com.gemstone.gemfire.cache.Region<java.lang.Object,EntityWrapper> createRegion(java.lang.String regionName)
protected java.lang.String getRegionType(java.lang.String regionName)
regionName - RegionShortcutcreateRegion(String),
GemFireCacheProvider