|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ObjectRegistry
Preliminary version of a simple shared object cache to re-use objects across multiple tasks within the same container/JVM.
| Method Summary | |
|---|---|
Object |
add(ObjectLifeCycle lifeCycle,
String key,
Object value)
Insert or update object into the registry. |
boolean |
delete(String key)
Delete the object associated with the provided key |
Object |
get(String key)
Return the object associated with the provided key |
| Method Detail |
|---|
Object add(ObjectLifeCycle lifeCycle,
String key,
Object value)
lifeCycle - What life-cycle is the Object valid forkey - Key to identify the Objectvalue - Object to be inserted
Object get(String key)
key - Key to find object
boolean delete(String key)
key - Key to find object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||