org.springframework.cache.support
Class ValueWrapperImpl

java.lang.Object
  extended by org.springframework.cache.support.ValueWrapperImpl
All Implemented Interfaces:
Cache.ValueWrapper

public class ValueWrapperImpl
extends java.lang.Object
implements Cache.ValueWrapper

Straightforward implementation of Cache.ValueWrapper.

Since:
3.1
Author:
Costin Leau

Field Summary
private  java.lang.Object value
           
 
Constructor Summary
ValueWrapperImpl(java.lang.Object value)
           
 
Method Summary
 java.lang.Object get()
          Return the actual value in the cache.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

private final java.lang.Object value
Constructor Detail

ValueWrapperImpl

public ValueWrapperImpl(java.lang.Object value)
Method Detail

get

public java.lang.Object get()
Description copied from interface: Cache.ValueWrapper
Return the actual value in the cache.

Specified by:
get in interface Cache.ValueWrapper