|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.data.gemfire.GemfireAccessor
public class GemfireAccessor
Base class for GemfireTemplate and GemfireInterceptor, defining common properties such as Region
.
Field Summary | |
---|---|
protected org.apache.commons.logging.Log |
log
Logger available to subclasses |
Constructor Summary | |
---|---|
GemfireAccessor()
|
Method Summary | |
---|---|
void |
afterPropertiesSet()
|
DataAccessException |
convertGemFireAccessException(com.gemstone.gemfire.GemFireCheckedException ex)
Converts the given GemFireCheckedException to an appropriate exception from the
org.springframework.dao hierarchy. |
DataAccessException |
convertGemFireAccessException(com.gemstone.gemfire.GemFireException ex)
Converts the given GemFireException to an appropriate exception from the
org.springframework.dao hierarchy. |
DataAccessException |
convertGemFireQueryException(RuntimeException ex)
Converts the given GemFire exception to an appropriate exception from the org.springframework.dao hierarchy. |
com.gemstone.gemfire.cache.Region<?,?> |
getRegion()
Returns the template region. |
void |
setRegion(com.gemstone.gemfire.cache.Region<?,?> region)
Sets the template region. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final org.apache.commons.logging.Log log
Constructor Detail |
---|
public GemfireAccessor()
Method Detail |
---|
public void afterPropertiesSet()
afterPropertiesSet
in interface InitializingBean
public DataAccessException convertGemFireAccessException(com.gemstone.gemfire.GemFireCheckedException ex)
GemFireCheckedException
to an appropriate exception from the
org.springframework.dao
hierarchy.
May be overridden in subclasses.
ex
- GemFireCheckedException that occurred
public DataAccessException convertGemFireAccessException(com.gemstone.gemfire.GemFireException ex)
GemFireException
to an appropriate exception from the
org.springframework.dao
hierarchy.
May be overridden in subclasses.
ex
- GemFireException that occurred
public DataAccessException convertGemFireQueryException(RuntimeException ex)
org.springframework.dao
hierarchy. Note that this particular implementation
is called only for GemFire querying exception that do NOT extend from GemFire exception.
May be overridden in subclasses.
ex
- GemFireException that occurred
com.gemstone.gemfire.cache.query.CqInvalidException
public com.gemstone.gemfire.cache.Region<?,?> getRegion()
public void setRegion(com.gemstone.gemfire.cache.Region<?,?> region)
region
- the region to set
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |