+ upgrade to Spring 3.1 RC1
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
package org.springframework.data.gemfire.support;
|
||||
|
||||
import org.springframework.cache.Cache;
|
||||
import org.springframework.cache.interceptor.DefaultValueWrapper;
|
||||
import org.springframework.cache.support.ValueWrapperImpl;
|
||||
|
||||
import com.gemstone.gemfire.cache.GemFireCache;
|
||||
import com.gemstone.gemfire.cache.Region;
|
||||
@@ -62,7 +62,7 @@ public class GemfireCache implements Cache {
|
||||
public ValueWrapper get(Object key) {
|
||||
Object value = region.get(key);
|
||||
|
||||
return (value == null ? null : new DefaultValueWrapper(value));
|
||||
return (value == null ? null : new ValueWrapperImpl(value));
|
||||
}
|
||||
|
||||
public void put(Object key, Object value) {
|
||||
|
||||
@@ -63,7 +63,7 @@ public class GemfireCacheManager extends AbstractCacheManager {
|
||||
Region<?, ?> reg = gemfireCache.getRegion(name);
|
||||
if (reg != null) {
|
||||
cache = new GemfireCache(reg);
|
||||
getCacheMap().put(name, cache);
|
||||
addCache(cache);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user