ScratchpadDefault
Default implementation of Scratchpad , which simply stores data in-memory.
This service is InteractionScope d, so no memory leak ought to be possible.
API
ScratchpadDefault.java
class ScratchpadDefault {
Object get(Object key) (1)
void put(Object key, Object value) (2)
void destroy() (3)
}
1 | get(Object)
Obtain user-data, as set by a previous object being acted upon. |
2 | put(Object, Object)
Set user-data, for the use of a subsequent object being acted upon. |
3 | destroy()
Clear any user data. |