|
Spring Framework | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.cache.support.SimpleValueWrapper
public class SimpleValueWrapper
Straightforward implementation of Cache.ValueWrapper
,
simply holding the value as given at construction and returning it from get()
.
Constructor Summary | |
---|---|
SimpleValueWrapper(java.lang.Object value)
Create a new SimpleValueWrapper instance for exposing the given value. |
Method Summary | |
---|---|
java.lang.Object |
get()
Simply returns the value as given at construction time. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleValueWrapper(java.lang.Object value)
value
- the value to expose (may be null
)Method Detail |
---|
public java.lang.Object get()
get
in interface Cache.ValueWrapper
|
Spring Framework | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |