|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines a container of data.
Method Summary | |
java.lang.Object |
get(java.lang.Object key)
Retrieve a data based on its identifier. |
void |
put(java.lang.Object key,
java.lang.Object data)
Add a data to the context. |
void |
register(java.lang.Object callback)
Register a callback. |
Method Detail |
public void put(java.lang.Object key, java.lang.Object data)
key
- the data unique identifierdata
- the datapublic java.lang.Object get(java.lang.Object key)
key
- the data unique identifier
public void register(java.lang.Object callback)
Any update( Type data ) method of this object will be called when the type of its data argument is compatible with the type of a data set by calling the set() method.
callback
- a callback
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |